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.workspace = true
50futures.workspace = true
51indoc = "1.0.4"
52itertools = "0.10"
53lazy_static.workspace = true
54log.workspace = true
55ordered-float.workspace = true
56parking_lot.workspace = true
57postage.workspace = true
58rand = { workspace = true, optional = true }
59serde.workspace = true
60serde_derive.workspace = true
61smallvec.workspace = true
62smol.workspace = true
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"] }
78
79ctor.workspace = true
80env_logger.workspace = true
81rand.workspace = true
82unindent.workspace = true
83tree-sitter = "0.20"
84tree-sitter-rust = "0.20"
85tree-sitter-html = "0.19"
86tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
87tree-sitter-javascript = "0.20"