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" }
39
40anyhow.workspace = true
41async-broadcast = "0.4"
42async-trait.workspace = true
43futures.workspace = true
44globset.workspace = true
45lazy_static.workspace = true
46log.workspace = true
47parking_lot.workspace = true
48postage.workspace = true
49rand = { workspace = true, optional = true }
50regex.workspace = true
51schemars.workspace = true
52serde.workspace = true
53serde_derive.workspace = true
54serde_json.workspace = true
55similar = "1.3"
56smallvec.workspace = true
57smol.workspace = true
58tree-sitter = "0.20"
59tree-sitter-rust = { version = "*", optional = true }
60tree-sitter-typescript = { version = "*", optional = true }
61unicase = "2.6"
62
63[dev-dependencies]
64client = { path = "../client", features = ["test-support"] }
65collections = { path = "../collections", features = ["test-support"] }
66gpui = { path = "../gpui", features = ["test-support"] }
67lsp = { path = "../lsp", features = ["test-support"] }
68text = { path = "../text", features = ["test-support"] }
69settings = { path = "../settings", features = ["test-support"] }
70util = { path = "../util", features = ["test-support"] }
71ctor.workspace = true
72env_logger.workspace = true
73indoc = "1.0.4"
74rand.workspace = true
75tree-sitter-embedded-template = "*"
76tree-sitter-html = "*"
77tree-sitter-javascript = "*"
78tree-sitter-json = "*"
79tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
80tree-sitter-rust = "*"
81tree-sitter-python = "*"
82tree-sitter-typescript = "*"
83tree-sitter-ruby = "*"
84unindent.workspace = true