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
49pulldown-cmark = { version = "0.9.2", default-features = false }
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.workspace = true
59unicase = "2.6"
60
61rand = { workspace = true, optional = true }
62tree-sitter-rust = { workspace = true, optional = true }
63tree-sitter-typescript = { workspace = true, optional = true }
64
65[dev-dependencies]
66client = { path = "../client", features = ["test-support"] }
67collections = { path = "../collections", features = ["test-support"] }
68gpui = { path = "../gpui", features = ["test-support"] }
69lsp = { path = "../lsp", features = ["test-support"] }
70text = { path = "../text", features = ["test-support"] }
71settings = { path = "../settings", features = ["test-support"] }
72util = { path = "../util", features = ["test-support"] }
73ctor.workspace = true
74env_logger.workspace = true
75indoc.workspace = true
76rand.workspace = true
77unindent.workspace = true
78
79tree-sitter-embedded-template.workspace = true
80tree-sitter-html.workspace = true
81tree-sitter-json.workspace = true
82tree-sitter-markdown.workspace = true
83tree-sitter-rust.workspace = true
84tree-sitter-python.workspace = true
85tree-sitter-typescript.workspace = true
86tree-sitter-ruby.workspace = true
87tree-sitter-elixir.workspace = true
88tree-sitter-heex.workspace = true