1[package]
2name = "editor"
3version = "0.1.0"
4edition = "2021"
5publish = false
6
7[lib]
8path = "src/editor.rs"
9doctest = false
10
11[features]
12test-support = [
13 "rand",
14 "copilot/test-support",
15 "text/test-support",
16 "language/test-support",
17 "gpui/test-support",
18 "project/test-support",
19 "util/test-support",
20 "workspace/test-support",
21 "tree-sitter-rust",
22 "tree-sitter-typescript"
23]
24
25[dependencies]
26clock = { path = "../clock" }
27copilot = { path = "../copilot" }
28db = { path = "../db" }
29drag_and_drop = { path = "../drag_and_drop" }
30collections = { path = "../collections" }
31context_menu = { path = "../context_menu" }
32fuzzy = { path = "../fuzzy" }
33git = { path = "../git" }
34gpui = { path = "../gpui" }
35language = { path = "../language" }
36lsp = { path = "../lsp" }
37project = { path = "../project" }
38rpc = { path = "../rpc" }
39settings = { path = "../settings" }
40snippet = { path = "../snippet" }
41sum_tree = { path = "../sum_tree" }
42text = { path = "../text" }
43theme = { path = "../theme" }
44util = { path = "../util" }
45sqlez = { path = "../sqlez" }
46workspace = { path = "../workspace" }
47
48aho-corasick = "0.7"
49anyhow = "1.0"
50futures = "0.3"
51indoc = "1.0.4"
52itertools = "0.10"
53lazy_static = "1.4"
54log = { version = "0.4.16", features = ["kv_unstable_serde"] }
55ordered-float = "2.1.1"
56parking_lot = "0.11"
57postage = { workspace = true }
58rand = { version = "0.8.3", optional = true }
59serde = { workspace = true }
60serde_derive = { workspace = true }
61smallvec = { workspace = true }
62smol = "1.2"
63tree-sitter-rust = { version = "*", optional = true }
64tree-sitter-html = { version = "*", optional = true }
65tree-sitter-javascript = { version = "*", optional = true }
66tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
67
68[dev-dependencies]
69copilot = { path = "../copilot", features = ["test-support"] }
70text = { path = "../text", features = ["test-support"] }
71language = { path = "../language", features = ["test-support"] }
72lsp = { path = "../lsp", features = ["test-support"] }
73gpui = { path = "../gpui", features = ["test-support"] }
74util = { path = "../util", features = ["test-support"] }
75project = { path = "../project", features = ["test-support"] }
76settings = { path = "../settings", features = ["test-support"] }
77workspace = { path = "../workspace", features = ["test-support"] }
78ctor = "0.1"
79env_logger = "0.9"
80rand = "0.8"
81unindent = "0.1.7"
82tree-sitter = "0.20"
83tree-sitter-rust = "0.20"
84tree-sitter-html = "0.19"
85tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
86tree-sitter-javascript = "0.20"