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" }
30collections = { path = "../collections" }
31# context_menu = { path = "../context_menu" }
32fuzzy = { package = "fuzzy2", path = "../fuzzy2" }
33git = { package = "git3", path = "../git3" }
34gpui = { package = "gpui2", path = "../gpui2" }
35language = { package = "language2", path = "../language2" }
36lsp = { package = "lsp2", path = "../lsp2" }
37multi_buffer = { package = "multi_buffer2", path = "../multi_buffer2" }
38project = { package = "project2", path = "../project2" }
39rpc = { package = "rpc2", path = "../rpc2" }
40rich_text = { package = "rich_text2", path = "../rich_text2" }
41settings = { package="settings2", path = "../settings2" }
42snippet = { path = "../snippet" }
43sum_tree = { path = "../sum_tree" }
44text = { package="text2", path = "../text2" }
45theme = { package="theme2", path = "../theme2" }
46ui = { package = "ui2", path = "../ui2" }
47util = { path = "../util" }
48sqlez = { path = "../sqlez" }
49workspace = { package = "workspace2", path = "../workspace2" }
50
51aho-corasick = "1.1"
52anyhow.workspace = true
53convert_case = "0.6.0"
54futures.workspace = true
55indoc = "1.0.4"
56itertools = "0.10"
57lazy_static.workspace = true
58log.workspace = true
59ordered-float.workspace = true
60parking_lot.workspace = true
61postage.workspace = true
62rand.workspace = true
63schemars.workspace = true
64serde.workspace = true
65serde_json.workspace = true
66serde_derive.workspace = true
67smallvec.workspace = true
68smol.workspace = true
69
70tree-sitter-rust = { workspace = true, optional = true }
71tree-sitter-html = { workspace = true, optional = true }
72tree-sitter-typescript = { workspace = true, optional = true }
73
74[dev-dependencies]
75copilot = { package="copilot2", path = "../copilot2", features = ["test-support"] }
76text = { package="text2", path = "../text2", features = ["test-support"] }
77language = { package="language2", path = "../language2", features = ["test-support"] }
78lsp = { package = "lsp2", path = "../lsp2", features = ["test-support"] }
79gpui = { package = "gpui2", path = "../gpui2", features = ["test-support"] }
80util = { path = "../util", features = ["test-support"] }
81project = { package = "project2", path = "../project2", features = ["test-support"] }
82settings = { package = "settings2", path = "../settings2", features = ["test-support"] }
83workspace = { package = "workspace2", path = "../workspace2", features = ["test-support"] }
84multi_buffer = { package = "multi_buffer2", path = "../multi_buffer2", features = ["test-support"] }
85
86ctor.workspace = true
87env_logger.workspace = true
88rand.workspace = true
89unindent.workspace = true
90tree-sitter.workspace = true
91tree-sitter-rust.workspace = true
92tree-sitter-html.workspace = true
93tree-sitter-typescript.workspace = true