Cargo.toml

 1[package]
 2name = "editor"
 3version = "0.1.0"
 4edition = "2018"
 5
 6[lib]
 7path = "src/editor.rs"
 8
 9[features]
10test-support = [
11    "rand",
12    "text/test-support",
13    "language/test-support",
14    "gpui/test-support",
15    "util/test-support",
16]
17
18[dependencies]
19text = { path = "../text" }
20clock = { path = "../clock" }
21collections = { path = "../collections" }
22gpui = { path = "../gpui" }
23language = { path = "../language" }
24project = { path = "../project" }
25sum_tree = { path = "../sum_tree" }
26theme = { path = "../theme" }
27util = { path = "../util" }
28workspace = { path = "../workspace" }
29aho-corasick = "0.7"
30anyhow = "1.0"
31itertools = "0.10"
32lazy_static = "1.4"
33log = "0.4"
34parking_lot = "0.11"
35postage = { version = "0.4", features = ["futures-traits"] }
36rand = { version = "0.8.3", optional = true }
37serde = { version = "1", features = ["derive", "rc"] }
38smallvec = { version = "1.6", features = ["union"] }
39smol = "1.2"
40
41[dev-dependencies]
42text = { path = "../text", features = ["test-support"] }
43language = { path = "../language", features = ["test-support"] }
44gpui = { path = "../gpui", features = ["test-support"] }
45util = { path = "../util", features = ["test-support"] }
46ctor = "0.1"
47env_logger = "0.8"
48rand = "0.8"
49unindent = "0.1.7"
50tree-sitter = "0.20"
51tree-sitter-rust = "0.20"