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