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