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