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" }
28fs = { path = "../fs" }
29git = { path = "../git" }
30gpui = { path = "../gpui" }
31lsp = { path = "../lsp" }
32rpc = { path = "../rpc" }
33settings = { path = "../settings" }
34sum_tree = { path = "../sum_tree" }
35text = { path = "../text" }
36theme = { path = "../theme" }
37util = { path = "../util" }
38anyhow = "1.0.38"
39async-broadcast = "0.4"
40async-trait = "0.1"
41futures = "0.3"
42lazy_static = "1.4"
43log = { version = "0.4.16", features = ["kv_unstable_serde"] }
44parking_lot = "0.11.1"
45postage = { version = "0.4.1", features = ["futures-traits"] }
46rand = { version = "0.8.3", optional = true }
47regex = "1.5"
48serde = { version = "1.0", features = ["derive", "rc"] }
49serde_json = { version = "1", features = ["preserve_order"] }
50similar = "1.3"
51smallvec = { version = "1.6", features = ["union"] }
52smol = "1.2"
53tree-sitter = "0.20"
54tree-sitter-rust = { version = "*", optional = true }
55tree-sitter-typescript = { version = "*", optional = true }
56
57[dev-dependencies]
58client = { path = "../client", features = ["test-support"] }
59collections = { path = "../collections", features = ["test-support"] }
60gpui = { path = "../gpui", features = ["test-support"] }
61lsp = { path = "../lsp", features = ["test-support"] }
62text = { path = "../text", features = ["test-support"] }
63settings = { path = "../settings", features = ["test-support"] }
64util = { path = "../util", features = ["test-support"] }
65ctor = "0.1"
66env_logger = "0.9"
67rand = "0.8.3"
68tree-sitter-html = "*"
69tree-sitter-javascript = "*"
70tree-sitter-json = "*"
71tree-sitter-rust = "*"
72tree-sitter-python = "*"
73tree-sitter-typescript = "*"
74tree-sitter-ruby = "*"
75tree-sitter-embedded-template = "*"
76unindent = "0.1.7"