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" }
26fuzzy = { path = "../fuzzy" }
27gpui = { path = "../gpui" }
28language = { path = "../language" }
29lsp = { path = "../lsp" }
30project = { path = "../project" }
31rpc = { path = "../rpc" }
32settings = { path = "../settings" }
33snippet = { path = "../snippet" }
34sum_tree = { path = "../sum_tree" }
35theme = { path = "../theme" }
36util = { path = "../util" }
37workspace = { path = "../workspace" }
38aho-corasick = "0.7"
39anyhow = "1.0"
40futures = "0.3"
41indoc = "1.0.4"
42itertools = "0.10"
43lazy_static = "1.4"
44log = { version = "0.4.16", features = ["kv_unstable_serde"] }
45ordered-float = "2.1.1"
46parking_lot = "0.11"
47postage = { version = "0.4", features = ["futures-traits"] }
48rand = { version = "0.8.3", optional = true }
49serde = { version = "1.0", features = ["derive", "rc"] }
50smallvec = { version = "1.6", features = ["union"] }
51smol = "1.2"
52tree-sitter-rust = { version = "*", optional = true }
53
54[dev-dependencies]
55text = { path = "../text", features = ["test-support"] }
56language = { path = "../language", features = ["test-support"] }
57lsp = { path = "../lsp", features = ["test-support"] }
58gpui = { path = "../gpui", features = ["test-support"] }
59util = { path = "../util", features = ["test-support"] }
60project = { path = "../project", features = ["test-support"] }
61settings = { path = "../settings", features = ["test-support"] }
62workspace = { path = "../workspace", features = ["test-support"] }
63ctor = "0.1"
64env_logger = "0.9"
65rand = "0.8"
66unindent = "0.1.7"
67tree-sitter = "0.20"
68tree-sitter-rust = "0.20"