Cargo.toml

 1[package]
 2name = "editor"
 3version = "0.1.0"
 4edition = "2021"
 5publish = false
 6
 7[lib]
 8path = "src/editor.rs"
 9doctest = false
10
11[features]
12test-support = [
13    "rand",
14    "text/test-support",
15    "language/test-support",
16    "gpui/test-support",
17    "project/test-support",
18    "util/test-support",
19    "workspace/test-support",
20    "tree-sitter-rust",
21    "tree-sitter-typescript"
22]
23
24[dependencies]
25clock = { path = "../clock" }
26copilot = { path = "../copilot" }
27db = { path = "../db" }
28drag_and_drop = { path = "../drag_and_drop" }
29collections = { path = "../collections" }
30context_menu = { path = "../context_menu" }
31fuzzy = { path = "../fuzzy" }
32git = { path = "../git" }
33gpui = { path = "../gpui" }
34language = { path = "../language" }
35lsp = { path = "../lsp" }
36project = { path = "../project" }
37rpc = { path = "../rpc" }
38settings = { path = "../settings" }
39snippet = { path = "../snippet" }
40sum_tree = { path = "../sum_tree" }
41text = { path = "../text" }
42theme = { path = "../theme" }
43util = { path = "../util" }
44sqlez = { path = "../sqlez" }
45workspace = { path = "../workspace" }
46
47aho-corasick = "0.7"
48anyhow = "1.0"
49futures = "0.3"
50indoc = "1.0.4"
51itertools = "0.10"
52lazy_static = "1.4"
53log = { version = "0.4.16", features = ["kv_unstable_serde"] }
54ordered-float = "2.1.1"
55parking_lot = "0.11"
56postage = { workspace = true }
57rand = { version = "0.8.3", optional = true }
58serde = { workspace = true }
59serde_derive = { workspace = true }
60smallvec = { version = "1.6", features = ["union"] }
61smol = "1.2"
62tree-sitter-rust = { version = "*", optional = true }
63tree-sitter-html = { version = "*", optional = true }
64tree-sitter-javascript = { version = "*", optional = true }
65tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
66
67[dev-dependencies]
68text = { path = "../text", features = ["test-support"] }
69language = { path = "../language", features = ["test-support"] }
70lsp = { path = "../lsp", features = ["test-support"] }
71gpui = { path = "../gpui", features = ["test-support"] }
72util = { path = "../util", features = ["test-support"] }
73project = { path = "../project", features = ["test-support"] }
74settings = { path = "../settings", features = ["test-support"] }
75workspace = { path = "../workspace", features = ["test-support"] }
76ctor = "0.1"
77env_logger = "0.9"
78rand = "0.8"
79unindent = "0.1.7"
80tree-sitter = "0.20"
81tree-sitter-rust = "0.20"
82tree-sitter-html = "0.19"
83tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
84tree-sitter-javascript = "0.20"