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    "text/test-support",
15    "language/test-support",
16    "gpui/test-support",
17    "project/test-support",
18    "util/test-support",
19    "workspace/test-support",
20    "tree-sitter-rust"
21]
22
23[dependencies]
24drag_and_drop = { path = "../drag_and_drop" }
25text = { path = "../text" }
26clock = { path = "../clock" }
27db = { path = "../db" }
28collections = { path = "../collections" }
29context_menu = { path = "../context_menu" }
30fuzzy = { path = "../fuzzy" }
31git = { path = "../git" }
32gpui = { path = "../gpui" }
33language = { path = "../language" }
34lsp = { path = "../lsp" }
35project = { path = "../project" }
36rpc = { path = "../rpc" }
37settings = { path = "../settings" }
38snippet = { path = "../snippet" }
39sum_tree = { path = "../sum_tree" }
40theme = { path = "../theme" }
41util = { path = "../util" }
42sqlez = { path = "../sqlez" }
43workspace = { path = "../workspace" }
44aho-corasick = "0.7"
45anyhow = "1.0"
46futures = "0.3"
47indoc = "1.0.4"
48itertools = "0.10"
49lazy_static = "1.4"
50log = { version = "0.4.16", features = ["kv_unstable_serde"] }
51ordered-float = "2.1.1"
52parking_lot = "0.11"
53postage = { version = "0.4", features = ["futures-traits"] }
54rand = { version = "0.8.3", optional = true }
55serde = { workspace = true }
56smallvec = { version = "1.6", features = ["union"] }
57smol = "1.2"
58tree-sitter-rust = { version = "*", optional = true }
59tree-sitter-html = { version = "*", optional = true }
60tree-sitter-javascript = { version = "*", optional = true }
61
62[dev-dependencies]
63text = { path = "../text", features = ["test-support"] }
64language = { path = "../language", features = ["test-support"] }
65lsp = { path = "../lsp", features = ["test-support"] }
66gpui = { path = "../gpui", features = ["test-support"] }
67util = { path = "../util", features = ["test-support"] }
68project = { path = "../project", features = ["test-support"] }
69settings = { path = "../settings", features = ["test-support"] }
70workspace = { path = "../workspace", features = ["test-support"] }
71ctor = "0.1"
72env_logger = "0.9"
73rand = "0.8"
74unindent = "0.1.7"
75tree-sitter = "0.20"
76tree-sitter-rust = "0.20"
77tree-sitter-html = "0.19"
78tree-sitter-javascript = "0.20"