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]
23drag_and_drop = { path = "../drag_and_drop" }
24text = { path = "../text" }
25clock = { path = "../clock" }
26collections = { path = "../collections" }
27context_menu = { path = "../context_menu" }
28fuzzy = { path = "../fuzzy" }
29git = { path = "../git" }
30gpui = { path = "../gpui" }
31language = { path = "../language" }
32lsp = { path = "../lsp" }
33project = { path = "../project" }
34rpc = { path = "../rpc" }
35settings = { path = "../settings" }
36snippet = { path = "../snippet" }
37sum_tree = { path = "../sum_tree" }
38theme = { path = "../theme" }
39util = { path = "../util" }
40workspace = { path = "../workspace" }
41aho-corasick = "0.7"
42anyhow = "1.0"
43futures = "0.3"
44indoc = "1.0.4"
45itertools = "0.10"
46lazy_static = "1.4"
47log = { version = "0.4.16", features = ["kv_unstable_serde"] }
48ordered-float = "2.1.1"
49parking_lot = "0.11"
50postage = { version = "0.4", features = ["futures-traits"] }
51rand = { version = "0.8.3", optional = true }
52serde = { workspace = true }
53smallvec = { version = "1.6", features = ["union"] }
54smol = "1.2"
55tree-sitter-rust = { version = "*", optional = true }
56tree-sitter-html = { version = "*", optional = true }
57tree-sitter-javascript = { version = "*", optional = true }
58
59[dev-dependencies]
60text = { path = "../text", features = ["test-support"] }
61language = { path = "../language", features = ["test-support"] }
62lsp = { path = "../lsp", features = ["test-support"] }
63gpui = { path = "../gpui", features = ["test-support"] }
64util = { path = "../util", features = ["test-support"] }
65project = { path = "../project", features = ["test-support"] }
66settings = { path = "../settings", features = ["test-support"] }
67workspace = { path = "../workspace", features = ["test-support"] }
68ctor = "0.1"
69env_logger = "0.9"
70rand = "0.8"
71unindent = "0.1.7"
72tree-sitter = "0.20"
73tree-sitter-rust = "0.20"
74tree-sitter-html = "0.19"
75tree-sitter-javascript = "0.20"