1[package]
2name = "language"
3version = "0.1.0"
4edition = "2018"
5
6[features]
7test-support = [
8 "rand",
9 "buffer/test-support",
10 "lsp/test-support",
11 "tree-sitter-rust",
12]
13
14[dependencies]
15buffer = { path = "../buffer" }
16clock = { path = "../clock" }
17gpui = { path = "../gpui" }
18lsp = { path = "../lsp" }
19rpc = { path = "../rpc" }
20theme = { path = "../theme" }
21util = { path = "../util" }
22anyhow = "1.0.38"
23futures = "0.3"
24lazy_static = "1.4"
25log = "0.4"
26parking_lot = "0.11.1"
27postage = { version = "0.4.1", features = ["futures-traits"] }
28rand = { version = "0.8.3", optional = true }
29serde = { version = "1", features = ["derive"] }
30similar = "1.3"
31smol = "1.2"
32tree-sitter = "0.19.5"
33tree-sitter-rust = { version = "0.19.0", optional = true }
34
35[dev-dependencies]
36buffer = { path = "../buffer", features = ["test-support"] }
37gpui = { path = "../gpui", features = ["test-support"] }
38lsp = { path = "../lsp", features = ["test-support"] }
39rand = "0.8.3"
40tree-sitter-rust = "0.19.0"
41unindent = "0.1.7"