1[package]
2name = "editor"
3version = "0.1.0"
4edition = "2021"
5publish = false
6license = "GPL-3.0-or-later"
7
8[lib]
9path = "src/editor.rs"
10doctest = false
11
12[features]
13test-support = [
14 "copilot/test-support",
15 "text/test-support",
16 "language/test-support",
17 "gpui/test-support",
18 "multi_buffer/test-support",
19 "project/test-support",
20 "util/test-support",
21 "workspace/test-support",
22 "tree-sitter-rust",
23 "tree-sitter-typescript"
24]
25
26[dependencies]
27client = { path = "../client" }
28clock = { path = "../clock" }
29copilot = { path = "../copilot" }
30db = { path = "../db" }
31collections = { path = "../collections" }
32# context_menu = { path = "../context_menu" }
33fuzzy = { path = "../fuzzy" }
34git = { path = "../git" }
35gpui = { path = "../gpui" }
36language = { path = "../language" }
37lsp = { path = "../lsp" }
38multi_buffer = { path = "../multi_buffer" }
39project = { path = "../project" }
40rpc = { path = "../rpc" }
41rich_text = { path = "../rich_text" }
42settings = { path = "../settings" }
43snippet = { path = "../snippet" }
44sum_tree = { path = "../sum_tree" }
45text = { path = "../text" }
46theme = { path = "../theme" }
47ui = { path = "../ui" }
48util = { path = "../util" }
49sqlez = { path = "../sqlez" }
50workspace = { path = "../workspace" }
51
52aho-corasick = "1.1"
53anyhow.workspace = true
54convert_case = "0.6.0"
55futures.workspace = true
56indoc = "1.0.4"
57itertools = "0.10"
58lazy_static.workspace = true
59log.workspace = true
60ordered-float.workspace = true
61parking_lot.workspace = true
62postage.workspace = true
63rand.workspace = true
64schemars.workspace = true
65serde.workspace = true
66serde_json.workspace = true
67serde_derive.workspace = true
68smallvec.workspace = true
69smol.workspace = true
70
71tree-sitter-rust = { workspace = true, optional = true }
72tree-sitter-html = { workspace = true, optional = true }
73tree-sitter-typescript = { workspace = true, optional = true }
74
75[dev-dependencies]
76copilot = { path = "../copilot", features = ["test-support"] }
77text = { path = "../text", features = ["test-support"] }
78language = { path = "../language", features = ["test-support"] }
79lsp = { path = "../lsp", features = ["test-support"] }
80gpui = { path = "../gpui", features = ["test-support"] }
81util = { path = "../util", features = ["test-support"] }
82project = { path = "../project", features = ["test-support"] }
83settings = { path = "../settings", features = ["test-support"] }
84workspace = { path = "../workspace", features = ["test-support"] }
85multi_buffer = { path = "../multi_buffer", features = ["test-support"] }
86
87ctor.workspace = true
88env_logger.workspace = true
89rand.workspace = true
90unindent.workspace = true
91tree-sitter.workspace = true
92tree-sitter-rust.workspace = true
93tree-sitter-html.workspace = true
94tree-sitter-typescript.workspace = true