Cargo.toml

 1[package]
 2name = "language"
 3version = "0.1.0"
 4edition = "2021"
 5
 6[lib]
 7path = "src/language.rs"
 8doctest = false
 9
10[features]
11test-support = [
12    "rand",
13    "client/test-support",
14    "collections/test-support",
15    "lsp/test-support",
16    "text/test-support",
17    "tree-sitter-rust",
18    "tree-sitter-typescript",
19    "settings/test-support",
20    "util/test-support",
21]
22
23[dependencies]
24client = { path = "../client" }
25clock = { path = "../clock" }
26collections = { path = "../collections" }
27fuzzy = { path = "../fuzzy" }
28gpui = { path = "../gpui" }
29lsp = { path = "../lsp" }
30rpc = { path = "../rpc" }
31settings = { path = "../settings" }
32sum_tree = { path = "../sum_tree" }
33text = { path = "../text" }
34theme = { path = "../theme" }
35util = { path = "../util" }
36anyhow = "1.0.38"
37async-broadcast = "0.3.4"
38async-trait = "0.1"
39futures = "0.3"
40lazy_static = "1.4"
41log = { version = "0.4.16", features = ["kv_unstable_serde"] }
42parking_lot = "0.11.1"
43postage = { version = "0.4.1", features = ["futures-traits"] }
44rand = { version = "0.8.3", optional = true }
45regex = "1.5"
46serde = { version = "1.0", features = ["derive", "rc"] }
47serde_json = { version = "1", features = ["preserve_order"] }
48similar = "1.3"
49smallvec = { version = "1.6", features = ["union"] }
50smol = "1.2"
51tree-sitter = "0.20"
52tree-sitter-rust = { version = "*", optional = true }
53tree-sitter-typescript = { version = "*", optional = true }
54
55[dev-dependencies]
56client = { path = "../client", features = ["test-support"] }
57collections = { path = "../collections", features = ["test-support"] }
58gpui = { path = "../gpui", features = ["test-support"] }
59lsp = { path = "../lsp", features = ["test-support"] }
60text = { path = "../text", features = ["test-support"] }
61settings = { path = "../settings", features = ["test-support"] }
62util = { path = "../util", features = ["test-support"] }
63ctor = "0.1"
64env_logger = "0.9"
65rand = "0.8.3"
66tree-sitter-json = "*"
67tree-sitter-rust = "*"
68tree-sitter-python = "*"
69tree-sitter-typescript = "*"
70unindent = "0.1.7"