Cargo.toml

 1[package]
 2name = "language"
 3version = "0.1.0"
 4edition = "2021"
 5
 6[lib]
 7path = "src/language.rs"
 8
 9[features]
10test-support = [
11    "rand",
12    "collections/test-support",
13    "lsp/test-support",
14    "text/test-support",
15    "tree-sitter-rust",
16    "util/test-support",
17]
18
19[dependencies]
20clock = { path = "../clock" }
21collections = { path = "../collections" }
22gpui = { path = "../gpui" }
23lsp = { path = "../lsp" }
24rpc = { path = "../rpc" }
25sum_tree = { path = "../sum_tree" }
26text = { path = "../text" }
27theme = { path = "../theme" }
28util = { path = "../util" }
29anyhow = "1.0.38"
30futures = "0.3"
31lazy_static = "1.4"
32log = "0.4"
33parking_lot = "0.11.1"
34postage = { version = "0.4.1", features = ["futures-traits"] }
35rand = { version = "0.8.3", optional = true }
36serde = { version = "1", features = ["derive"] }
37similar = "1.3"
38smallvec = { version = "1.6", features = ["union"] }
39smol = "1.2"
40tree-sitter = "0.20.0"
41tree-sitter-rust = { version = "0.20.0", optional = true }
42
43[dev-dependencies]
44collections = { path = "../collections", features = ["test-support"] }
45gpui = { path = "../gpui", features = ["test-support"] }
46lsp = { path = "../lsp", features = ["test-support"] }
47text = { path = "../text", features = ["test-support"] }
48util = { path = "../util", features = ["test-support"] }
49ctor = "0.1"
50env_logger = "0.8"
51rand = "0.8.3"
52tree-sitter-rust = "0.20.0"
53unindent = "0.1.7"