Cargo.toml

 1[package]
 2name = "editor"
 3version = "0.1.0"
 4edition = "2021"
 5
 6[lib]
 7path = "src/editor.rs"
 8doctest = false
 9
10[features]
11test-support = [
12    "rand",
13    "text/test-support",
14    "language/test-support",
15    "gpui/test-support",
16    "project/test-support",
17    "util/test-support",
18    "workspace/test-support",
19    "tree-sitter-rust"
20]
21
22[dependencies]
23text = { path = "../text" }
24clock = { path = "../clock" }
25collections = { path = "../collections" }
26context_menu = { path = "../context_menu" }
27fuzzy = { path = "../fuzzy" }
28gpui = { path = "../gpui" }
29language = { path = "../language" }
30lsp = { path = "../lsp" }
31project = { path = "../project" }
32rpc = { path = "../rpc" }
33settings = { path = "../settings" }
34snippet = { path = "../snippet" }
35sum_tree = { path = "../sum_tree" }
36theme = { path = "../theme" }
37util = { path = "../util" }
38workspace = { path = "../workspace" }
39aho-corasick = "0.7"
40anyhow = "1.0"
41futures = "0.3"
42indoc = "1.0.4"
43itertools = "0.10"
44lazy_static = "1.4"
45log = { version = "0.4.16", features = ["kv_unstable_serde"] }
46ordered-float = "2.1.1"
47parking_lot = "0.11"
48postage = { version = "0.4", features = ["futures-traits"] }
49rand = { version = "0.8.3", optional = true }
50serde = { version = "1.0", features = ["derive", "rc"] }
51smallvec = { version = "1.6", features = ["union"] }
52smol = "1.2"
53tree-sitter-rust = { version = "*", optional = true }
54
55[dev-dependencies]
56text = { path = "../text", features = ["test-support"] }
57language = { path = "../language", features = ["test-support"] }
58lsp = { path = "../lsp", features = ["test-support"] }
59gpui = { path = "../gpui", features = ["test-support"] }
60util = { path = "../util", features = ["test-support"] }
61project = { path = "../project", features = ["test-support"] }
62settings = { path = "../settings", features = ["test-support"] }
63workspace = { path = "../workspace", features = ["test-support"] }
64ctor = "0.1"
65env_logger = "0.9"
66rand = "0.8"
67unindent = "0.1.7"
68tree-sitter = "0.20"
69tree-sitter-rust = "0.20"