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
48pulldown-cmark = { version = "0.9.2", default-features = false }
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