Cargo.toml

 1[package]
 2name = "editor2"
 3version = "0.1.0"
 4edition = "2021"
 5publish = false
 6
 7[lib]
 8path = "src/editor.rs"
 9doctest = false
10
11[features]
12test-support = [
13    "copilot/test-support",
14    "text/test-support",
15    "language/test-support",
16    "gpui/test-support",
17    "multi_buffer/test-support",
18    "project/test-support",
19    "util/test-support",
20    "workspace/test-support",
21    "tree-sitter-rust",
22    "tree-sitter-typescript"
23]
24
25[dependencies]
26client = { package = "client2", path = "../client2" }
27clock = { path = "../clock" }
28copilot = { package="copilot2", path = "../copilot2" }
29db = { package="db2", path = "../db2" }
30drag_and_drop = { path = "../drag_and_drop" }
31collections = { path = "../collections" }
32# context_menu = { path = "../context_menu" }
33fuzzy = { package = "fuzzy2", path = "../fuzzy2" }
34git = { package = "git3", path = "../git3" }
35gpui = { package = "gpui2", path = "../gpui2" }
36language = { package = "language2", path = "../language2" }
37lsp = { package = "lsp2", path = "../lsp2" }
38multi_buffer = { package = "multi_buffer2", path = "../multi_buffer2" }
39project = { package = "project2", path = "../project2" }
40rpc = { package = "rpc2", path = "../rpc2" }
41rich_text = { package = "rich_text2", path = "../rich_text2" }
42settings = { package="settings2", path = "../settings2" }
43snippet = { path = "../snippet" }
44sum_tree = { path = "../sum_tree" }
45text = { package="text2", path = "../text2" }
46theme = { package="theme2", path = "../theme2" }
47ui = { package = "ui2", path = "../ui2" }
48util = { path = "../util" }
49sqlez = { path = "../sqlez" }
50workspace = { package = "workspace2", path = "../workspace2" }
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 = { package="copilot2", path = "../copilot2", features = ["test-support"] }
77text = { package="text2", path = "../text2", features = ["test-support"] }
78language = { package="language2", path = "../language2", features = ["test-support"] }
79lsp = { package = "lsp2", path = "../lsp2", features = ["test-support"] }
80gpui = { package = "gpui2", path = "../gpui2", features = ["test-support"] }
81util = { path = "../util", features = ["test-support"] }
82project = { package = "project2", path = "../project2", features = ["test-support"] }
83settings = { package = "settings2", path = "../settings2", features = ["test-support"] }
84workspace = { package = "workspace2", path = "../workspace2", features = ["test-support"] }
85multi_buffer = { package = "multi_buffer2", path = "../multi_buffer2", 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