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]
25clock = { path = "../clock" }
26collections = { path = "../collections" }
27fuzzy = { path = "../fuzzy" }
28fs = { path = "../fs" }
29git = { path = "../git" }
30gpui = { path = "../gpui" }
31lsp = { path = "../lsp" }
32rpc = { path = "../rpc" }
33settings = { path = "../settings" }
34sum_tree = { path = "../sum_tree" }
35text = { path = "../text" }
36theme = { path = "../theme" }
37util = { path = "../util" }
38
39anyhow.workspace = true
40async-broadcast = "0.4"
41async-trait.workspace = true
42futures.workspace = true
43globset.workspace = true
44lazy_static.workspace = true
45log.workspace = true
46parking_lot.workspace = true
47postage.workspace = true
48regex.workspace = true
49schemars.workspace = true
50serde.workspace = true
51serde_derive.workspace = true
52serde_json.workspace = true
53similar = "1.3"
54smallvec.workspace = true
55smol.workspace = true
56tree-sitter.workspace = true
57unicase = "2.6"
58
59rand = { workspace = true, optional = true }
60tree-sitter-rust = { workspace = true, optional = true }
61tree-sitter-typescript = { workspace = true, optional = true }
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.workspace = true
74rand.workspace = true
75unindent.workspace = true
76
77tree-sitter-embedded-template.workspace = true
78tree-sitter-html.workspace = true
79tree-sitter-json.workspace = true
80tree-sitter-markdown.workspace = true
81tree-sitter-rust.workspace = true
82tree-sitter-python.workspace = true
83tree-sitter-typescript.workspace = true
84tree-sitter-ruby.workspace = true
85tree-sitter-elixir.workspace = true
86tree-sitter-heex.workspace = true