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"
30async-trait = "0.1"
31futures = "0.3"
32lazy_static = "1.4"
33log = "0.4"
34parking_lot = "0.11.1"
35postage = { version = "0.4.1", features = ["futures-traits"] }
36rand = { version = "0.8.3", optional = true }
37serde = { version = "1", features = ["derive"] }
38similar = "1.3"
39smallvec = { version = "1.6", features = ["union"] }
40smol = "1.2"
41tree-sitter = "0.20.0"
42tree-sitter-rust = { version = "0.20.0", optional = true }
43
44[dev-dependencies]
45collections = { path = "../collections", features = ["test-support"] }
46gpui = { path = "../gpui", features = ["test-support"] }
47lsp = { path = "../lsp", features = ["test-support"] }
48text = { path = "../text", features = ["test-support"] }
49util = { path = "../util", features = ["test-support"] }
50ctor = "0.1"
51env_logger = "0.8"
52rand = "0.8.3"
53tree-sitter-rust = "0.20.0"
54unindent = "0.1.7"