2021-10-04 22:06:12 +00:00
|
|
|
[package]
|
|
|
|
name = "editor"
|
|
|
|
version = "0.1.0"
|
2022-01-11 17:30:25 +00:00
|
|
|
edition = "2021"
|
2021-10-04 22:06:12 +00:00
|
|
|
|
2021-11-30 19:46:39 +00:00
|
|
|
[lib]
|
|
|
|
path = "src/editor.rs"
|
2022-03-04 00:15:56 +00:00
|
|
|
doctest = false
|
2021-11-30 19:46:39 +00:00
|
|
|
|
2021-10-04 22:06:12 +00:00
|
|
|
[features]
|
2021-10-21 07:40:50 +00:00
|
|
|
test-support = [
|
2021-12-11 00:37:53 +00:00
|
|
|
"rand",
|
2021-11-30 19:26:12 +00:00
|
|
|
"text/test-support",
|
2021-10-21 07:40:50 +00:00
|
|
|
"language/test-support",
|
|
|
|
"gpui/test-support",
|
2022-02-08 23:48:44 +00:00
|
|
|
"project/test-support",
|
2021-12-04 13:57:56 +00:00
|
|
|
"util/test-support",
|
2022-02-24 23:27:11 +00:00
|
|
|
"workspace/test-support",
|
2022-06-09 20:14:25 +00:00
|
|
|
"tree-sitter-rust"
|
2021-10-21 07:40:50 +00:00
|
|
|
]
|
2021-10-04 22:06:12 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-25 07:11:59 +00:00
|
|
|
drag_and_drop = { path = "../drag_and_drop" }
|
2021-11-30 19:26:12 +00:00
|
|
|
text = { path = "../text" }
|
2021-10-04 22:06:12 +00:00
|
|
|
clock = { path = "../clock" }
|
2021-12-11 00:37:53 +00:00
|
|
|
collections = { path = "../collections" }
|
2022-07-11 21:14:33 +00:00
|
|
|
context_menu = { path = "../context_menu" }
|
2022-02-01 14:11:20 +00:00
|
|
|
fuzzy = { path = "../fuzzy" }
|
2022-09-28 15:43:33 +00:00
|
|
|
git = { path = "../git" }
|
2021-10-04 22:06:12 +00:00
|
|
|
gpui = { path = "../gpui" }
|
2021-10-20 20:51:40 +00:00
|
|
|
language = { path = "../language" }
|
2022-02-01 23:35:02 +00:00
|
|
|
lsp = { path = "../lsp" }
|
2021-11-24 14:18:15 +00:00
|
|
|
project = { path = "../project" }
|
2022-03-18 00:53:49 +00:00
|
|
|
rpc = { path = "../rpc" }
|
2022-04-06 00:10:17 +00:00
|
|
|
settings = { path = "../settings" }
|
2022-02-01 23:35:02 +00:00
|
|
|
snippet = { path = "../snippet" }
|
2021-10-04 22:36:52 +00:00
|
|
|
sum_tree = { path = "../sum_tree" }
|
2021-10-05 17:21:13 +00:00
|
|
|
theme = { path = "../theme" }
|
2021-10-04 22:36:52 +00:00
|
|
|
util = { path = "../util" }
|
2021-11-24 16:07:16 +00:00
|
|
|
workspace = { path = "../workspace" }
|
2021-11-25 14:44:06 +00:00
|
|
|
aho-corasick = "0.7"
|
2021-10-04 22:36:52 +00:00
|
|
|
anyhow = "1.0"
|
2022-03-28 08:58:40 +00:00
|
|
|
futures = "0.3"
|
2022-04-06 21:41:51 +00:00
|
|
|
indoc = "1.0.4"
|
2021-12-11 20:42:46 +00:00
|
|
|
itertools = "0.10"
|
2021-10-04 22:06:12 +00:00
|
|
|
lazy_static = "1.4"
|
2022-04-08 16:06:51 +00:00
|
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
2022-02-01 14:11:20 +00:00
|
|
|
ordered-float = "2.1.1"
|
2021-10-04 22:06:12 +00:00
|
|
|
parking_lot = "0.11"
|
|
|
|
postage = { version = "0.4", features = ["futures-traits"] }
|
2021-12-11 00:37:53 +00:00
|
|
|
rand = { version = "0.8.3", optional = true }
|
2022-10-11 00:10:42 +00:00
|
|
|
serde = { workspace = true }
|
2021-10-04 22:06:12 +00:00
|
|
|
smallvec = { version = "1.6", features = ["union"] }
|
|
|
|
smol = "1.2"
|
2022-06-09 20:14:25 +00:00
|
|
|
tree-sitter-rust = { version = "*", optional = true }
|
2022-08-31 23:50:44 +00:00
|
|
|
tree-sitter-html = { version = "*", optional = true }
|
|
|
|
tree-sitter-javascript = { version = "*", optional = true }
|
2021-10-04 22:06:12 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-11-30 19:26:12 +00:00
|
|
|
text = { path = "../text", features = ["test-support"] }
|
2021-10-20 20:51:40 +00:00
|
|
|
language = { path = "../language", features = ["test-support"] }
|
2022-02-01 00:50:51 +00:00
|
|
|
lsp = { path = "../lsp", features = ["test-support"] }
|
2021-10-05 15:47:46 +00:00
|
|
|
gpui = { path = "../gpui", features = ["test-support"] }
|
2021-12-04 13:57:56 +00:00
|
|
|
util = { path = "../util", features = ["test-support"] }
|
2022-02-08 23:48:44 +00:00
|
|
|
project = { path = "../project", features = ["test-support"] }
|
2022-04-06 00:10:17 +00:00
|
|
|
settings = { path = "../settings", features = ["test-support"] }
|
2022-02-24 23:27:11 +00:00
|
|
|
workspace = { path = "../workspace", features = ["test-support"] }
|
2021-11-12 16:01:57 +00:00
|
|
|
ctor = "0.1"
|
2022-06-03 00:24:57 +00:00
|
|
|
env_logger = "0.9"
|
2021-10-04 22:06:12 +00:00
|
|
|
rand = "0.8"
|
|
|
|
unindent = "0.1.7"
|
2021-12-06 05:37:08 +00:00
|
|
|
tree-sitter = "0.20"
|
|
|
|
tree-sitter-rust = "0.20"
|
2022-08-31 23:50:44 +00:00
|
|
|
tree-sitter-html = "0.19"
|
|
|
|
tree-sitter-javascript = "0.20"
|