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 }
57serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
58smallvec = { version = "1.6", features = ["union"] }
59smol = "1.2"
60tree-sitter-rust = { version = "*", optional = true }
61tree-sitter-html = { version = "*", optional = true }
62tree-sitter-javascript = { version = "*", optional = true }
63tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
64
65[dev-dependencies]
66text = { path = "../text", features = ["test-support"] }
67language = { path = "../language", features = ["test-support"] }
68lsp = { path = "../lsp", features = ["test-support"] }
69gpui = { path = "../gpui", features = ["test-support"] }
70util = { path = "../util", features = ["test-support"] }
71project = { path = "../project", features = ["test-support"] }
72settings = { path = "../settings", features = ["test-support"] }
73workspace = { path = "../workspace", features = ["test-support"] }
74ctor = "0.1"
75env_logger = "0.9"
76rand = "0.8"
77unindent = "0.1.7"
78tree-sitter = "0.20"
79tree-sitter-rust = "0.20"
80tree-sitter-html = "0.19"
81tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
82tree-sitter-javascript = "0.20"