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