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]
25drag_and_drop = { path = "../drag_and_drop" }
26text = { path = "../text" }
27clock = { path = "../clock" }
28db = { path = "../db" }
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" }
41theme = { path = "../theme" }
42util = { path = "../util" }
43sqlez = { path = "../sqlez" }
44workspace = { path = "../workspace" }
45aho-corasick = "0.7"
46anyhow = "1.0"
47futures = "0.3"
48indoc = "1.0.4"
49itertools = "0.10"
50lazy_static = "1.4"
51log = { version = "0.4.16", features = ["kv_unstable_serde"] }
52ordered-float = "2.1.1"
53parking_lot = "0.11"
54postage = { version = "0.4", features = ["futures-traits"] }
55rand = { version = "0.8.3", optional = true }
56serde = { workspace = true }
57smallvec = { version = "1.6", features = ["union"] }
58smol = "1.2"
59tree-sitter-rust = { version = "*", optional = true }
60tree-sitter-html = { version = "*", optional = true }
61tree-sitter-javascript = { version = "*", optional = true }
62tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
63
64[dev-dependencies]
65text = { path = "../text", features = ["test-support"] }
66language = { path = "../language", features = ["test-support"] }
67lsp = { path = "../lsp", features = ["test-support"] }
68gpui = { path = "../gpui", features = ["test-support"] }
69util = { path = "../util", features = ["test-support"] }
70project = { path = "../project", features = ["test-support"] }
71settings = { path = "../settings", features = ["test-support"] }
72workspace = { path = "../workspace", features = ["test-support"] }
73ctor = "0.1"
74env_logger = "0.9"
75rand = "0.8"
76unindent = "0.1.7"
77tree-sitter = "0.20"
78tree-sitter-rust = "0.20"
79tree-sitter-html = "0.19"
80tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
81tree-sitter-javascript = "0.20"