Cargo.toml

 1[package]
 2name = "language"
 3version = "0.1.0"
 4edition = "2021"
 5publish = false
 6license = "GPL-3.0-or-later"
 7
 8
 9[lib]
10path = "src/language.rs"
11doctest = false
12
13[features]
14test-support = [
15    "rand",
16    "client/test-support",
17    "collections/test-support",
18    "lsp/test-support",
19    "text/test-support",
20    "tree-sitter-rust",
21    "tree-sitter-typescript",
22    "settings/test-support",
23    "util/test-support",
24]
25
26[dependencies]
27clock = { path = "../clock" }
28collections = { path = "../collections" }
29fuzzy = {  path = "../fuzzy" }
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 }
63pulldown-cmark = { version = "0.9.2", default-features = false }
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