Cargo.toml

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