Cargo.toml

 1[package]
 2name = "editor"
 3version = "0.1.0"
 4edition = "2021"
 5publish = false
 6
 7[lib]
 8path = "src/editor.rs"
 9doctest = false
10
11[features]
12test-support = [
13    "rand",
14    "copilot/test-support",
15    "text/test-support",
16    "language/test-support",
17    "gpui/test-support",
18    "project/test-support",
19    "util/test-support",
20    "workspace/test-support",
21    "tree-sitter-rust",
22    "tree-sitter-typescript"
23]
24
25[dependencies]
26client = { path = "../client" }
27clock = { path = "../clock" }
28copilot = { path = "../copilot" }
29db = { path = "../db" }
30drag_and_drop = { path = "../drag_and_drop" }
31collections = { path = "../collections" }
32context_menu = { path = "../context_menu" }
33fuzzy = { path = "../fuzzy" }
34git = { path = "../git" }
35gpui = { path = "../gpui" }
36language = { path = "../language" }
37lsp = { path = "../lsp" }
38project = { path = "../project" }
39rpc = { path = "../rpc" }
40settings = { path = "../settings" }
41snippet = { path = "../snippet" }
42sum_tree = { path = "../sum_tree" }
43text = { path = "../text" }
44theme = { path = "../theme" }
45util = { path = "../util" }
46sqlez = { path = "../sqlez" }
47workspace = { path = "../workspace" }
48
49aho-corasick = "0.7"
50anyhow.workspace = true
51futures.workspace = true
52indoc = "1.0.4"
53itertools = "0.10"
54lazy_static.workspace = true
55log.workspace = true
56ordered-float.workspace = true
57parking_lot.workspace = true
58postage.workspace = true
59pulldown-cmark = { version = "0.9.2", default-features = false }
60rand = { workspace = true, optional = true }
61schemars.workspace = true
62serde.workspace = true
63serde_derive.workspace = true
64smallvec.workspace = true
65smol.workspace = true
66tree-sitter-rust = { version = "*", optional = true }
67tree-sitter-html = { version = "*", optional = true }
68tree-sitter-javascript = { version = "*", optional = true }
69tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
70
71[dev-dependencies]
72copilot = { path = "../copilot", features = ["test-support"] }
73text = { path = "../text", features = ["test-support"] }
74language = { path = "../language", features = ["test-support"] }
75lsp = { path = "../lsp", features = ["test-support"] }
76gpui = { path = "../gpui", features = ["test-support"] }
77util = { path = "../util", features = ["test-support"] }
78project = { path = "../project", features = ["test-support"] }
79settings = { path = "../settings", features = ["test-support"] }
80workspace = { path = "../workspace", features = ["test-support"] }
81
82ctor.workspace = true
83env_logger.workspace = true
84rand.workspace = true
85unindent.workspace = true
86tree-sitter = "0.20"
87tree-sitter-rust = "0.20"
88tree-sitter-html = "0.19"
89tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
90tree-sitter-javascript = "0.20"