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