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    "util/test-support",
20]
21
22[dependencies]
23client = { path = "../client" }
24clock = { path = "../clock" }
25collections = { path = "../collections" }
26fuzzy = { path = "../fuzzy" }
27gpui = { path = "../gpui" }
28lsp = { path = "../lsp" }
29rpc = { path = "../rpc" }
30sum_tree = { path = "../sum_tree" }
31text = { path = "../text" }
32theme = { path = "../theme" }
33util = { path = "../util" }
34anyhow = "1.0.38"
35async-broadcast = "0.3.4"
36async-trait = "0.1"
37futures = "0.3"
38lazy_static = "1.4"
39log = { version = "0.4.16", features = ["kv_unstable_serde"] }
40parking_lot = "0.11.1"
41postage = { version = "0.4.1", features = ["futures-traits"] }
42rand = { version = "0.8.3", optional = true }
43serde = { version = "1.0", features = ["derive", "rc"] }
44serde_json = { version = "1", features = ["preserve_order"] }
45similar = "1.3"
46smallvec = { version = "1.6", features = ["union"] }
47smol = "1.2"
48tree-sitter = "0.20"
49tree-sitter-rust = { version = "*", optional = true }
50tree-sitter-typescript = { version = "*", optional = true }
51
52[dev-dependencies]
53client = { path = "../client", features = ["test-support"] }
54collections = { path = "../collections", features = ["test-support"] }
55gpui = { path = "../gpui", features = ["test-support"] }
56lsp = { path = "../lsp", features = ["test-support"] }
57text = { path = "../text", features = ["test-support"] }
58util = { path = "../util", features = ["test-support"] }
59ctor = "0.1"
60env_logger = "0.9"
61rand = "0.8.3"
62tree-sitter-json = "*"
63tree-sitter-rust = "*"
64tree-sitter-typescript = "*"
65unindent = "0.1.7"