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