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
49regex.workspace = true
50schemars.workspace = true
51serde.workspace = true
52serde_derive.workspace = true
53serde_json.workspace = true
54similar = "1.3"
55smallvec.workspace = true
56smol.workspace = true
57tree-sitter.workspace = true
58unicase = "2.6"
59
60rand = { workspace = true, optional = true }
61tree-sitter-rust = { workspace = true, optional = true }
62tree-sitter-typescript = { workspace = true, optional = true }
63
64[dev-dependencies]
65client = { path = "../client", features = ["test-support"] }
66collections = { path = "../collections", features = ["test-support"] }
67gpui = { path = "../gpui", features = ["test-support"] }
68lsp = { path = "../lsp", features = ["test-support"] }
69text = { path = "../text", features = ["test-support"] }
70settings = { path = "../settings", features = ["test-support"] }
71util = { path = "../util", features = ["test-support"] }
72ctor.workspace = true
73env_logger.workspace = true
74indoc.workspace = true
75rand.workspace = true
76unindent.workspace = true
77
78tree-sitter-embedded-template.workspace = true
79tree-sitter-html.workspace = true
80tree-sitter-json.workspace = true
81tree-sitter-markdown.workspace = true
82tree-sitter-rust.workspace = true
83tree-sitter-python.workspace = true
84tree-sitter-typescript.workspace = true
85tree-sitter-ruby.workspace = true
86tree-sitter-elixir.workspace = true
87tree-sitter-heex.workspace = true