Cargo.toml

 1[package]
 2name = "language"
 3version = "0.1.0"
 4edition = "2021"
 5publish = false
 6
 7[lib]
 8path = "src/language.rs"
 9doctest = false
10
11[features]
12test-support = [
13    "rand",
14    "client/test-support",
15    "collections/test-support",
16    "lsp/test-support",
17    "text/test-support",
18    "tree-sitter-rust",
19    "tree-sitter-typescript",
20    "settings/test-support",
21    "util/test-support",
22]
23
24[dependencies]
25client = { path = "../client" }
26clock = { path = "../clock" }
27collections = { path = "../collections" }
28fuzzy = { path = "../fuzzy" }
29fs = { path = "../fs" }
30git = { path = "../git" }
31gpui = { path = "../gpui" }
32lsp = { path = "../lsp" }
33rpc = { path = "../rpc" }
34settings = { path = "../settings" }
35sum_tree = { path = "../sum_tree" }
36text = { path = "../text" }
37theme = { path = "../theme" }
38util = { path = "../util" }
39anyhow = "1.0.38"
40async-broadcast = "0.4"
41async-trait = "0.1"
42futures = "0.3"
43lazy_static = "1.4"
44log = { version = "0.4.16", features = ["kv_unstable_serde"] }
45parking_lot = "0.11.1"
46postage = { version = "0.4.1", features = ["futures-traits"] }
47rand = { version = "0.8.3", optional = true }
48regex = "1.5"
49serde = { version = "1.0", features = ["derive", "rc"] }
50serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
51serde_json = { version = "1", features = ["preserve_order"] }
52similar = "1.3"
53smallvec = { version = "1.6", features = ["union"] }
54smol = "1.2"
55tree-sitter = "0.20"
56tree-sitter-rust = { version = "*", optional = true }
57tree-sitter-typescript = { version = "*", optional = true }
58unicase = "2.6"
59
60[dev-dependencies]
61client = { path = "../client", features = ["test-support"] }
62collections = { path = "../collections", features = ["test-support"] }
63gpui = { path = "../gpui", features = ["test-support"] }
64lsp = { path = "../lsp", features = ["test-support"] }
65text = { path = "../text", features = ["test-support"] }
66settings = { path = "../settings", features = ["test-support"] }
67util = { path = "../util", features = ["test-support"] }
68ctor = "0.1"
69env_logger = "0.9"
70indoc = "1.0.4"
71rand = "0.8.3"
72tree-sitter-embedded-template = "*"
73tree-sitter-html = "*"
74tree-sitter-javascript = "*"
75tree-sitter-json = "*"
76tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
77tree-sitter-rust = "*"
78tree-sitter-python = "*"
79tree-sitter-typescript = "*"
80tree-sitter-ruby = "*"
81unindent = "0.1.7"