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"
|
2023-01-18 20:28:02 +00:00
|
|
|
publish = false
|
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 = [
|
2023-04-05 08:26:43 +00:00
|
|
|
"copilot/test-support",
|
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",
|
2023-02-15 22:28:50 +00:00
|
|
|
"tree-sitter-rust",
|
|
|
|
"tree-sitter-typescript"
|
2021-10-21 07:40:50 +00:00
|
|
|
]
|
2021-10-04 22:06:12 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-28 20:06:55 +00:00
|
|
|
client = { path = "../client" }
|
2021-10-04 22:06:12 +00:00
|
|
|
clock = { path = "../clock" }
|
2023-03-26 10:30:21 +00:00
|
|
|
copilot = { path = "../copilot" }
|
2022-11-17 00:35:56 +00:00
|
|
|
db = { path = "../db" }
|
2023-03-26 10:30:21 +00:00
|
|
|
drag_and_drop = { path = "../drag_and_drop" }
|
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" }
|
2023-03-26 10:30:21 +00:00
|
|
|
text = { path = "../text" }
|
2021-10-05 17:21:13 +00:00
|
|
|
theme = { path = "../theme" }
|
2021-10-04 22:36:52 +00:00
|
|
|
util = { path = "../util" }
|
2022-11-17 00:35:56 +00:00
|
|
|
sqlez = { path = "../sqlez" }
|
2021-11-24 16:07:16 +00:00
|
|
|
workspace = { path = "../workspace" }
|
2023-03-26 10:30:21 +00:00
|
|
|
|
2021-11-25 14:44:06 +00:00
|
|
|
aho-corasick = "0.7"
|
2023-04-25 00:41:55 +00:00
|
|
|
anyhow.workspace = true
|
|
|
|
futures.workspace = true
|
2022-04-06 21:41:51 +00:00
|
|
|
indoc = "1.0.4"
|
2021-12-11 20:42:46 +00:00
|
|
|
itertools = "0.10"
|
2023-04-25 00:41:55 +00:00
|
|
|
lazy_static.workspace = true
|
|
|
|
log.workspace = true
|
|
|
|
ordered-float.workspace = true
|
|
|
|
parking_lot.workspace = true
|
|
|
|
postage.workspace = true
|
2023-04-27 20:58:30 +00:00
|
|
|
pulldown-cmark = { version = "0.9.2", default-features = false }
|
2023-06-05 13:55:26 +00:00
|
|
|
rand = { workspace = true }
|
2023-05-11 21:40:35 +00:00
|
|
|
schemars.workspace = true
|
2023-04-25 00:41:55 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_derive.workspace = true
|
|
|
|
smallvec.workspace = true
|
|
|
|
smol.workspace = true
|
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 }
|
2023-02-16 20:24:35 +00:00
|
|
|
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
|
2021-10-04 22:06:12 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-04-05 08:26:43 +00:00
|
|
|
copilot = { path = "../copilot", features = ["test-support"] }
|
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"] }
|
2023-04-25 00:41:55 +00:00
|
|
|
|
|
|
|
ctor.workspace = true
|
|
|
|
env_logger.workspace = true
|
|
|
|
rand.workspace = true
|
|
|
|
unindent.workspace = true
|
2023-06-09 21:55:46 +00:00
|
|
|
tree-sitter.workspace = true
|
2021-12-06 05:37:08 +00:00
|
|
|
tree-sitter-rust = "0.20"
|
2022-08-31 23:50:44 +00:00
|
|
|
tree-sitter-html = "0.19"
|
2023-02-16 20:24:35 +00:00
|
|
|
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
|
2022-08-31 23:50:44 +00:00
|
|
|
tree-sitter-javascript = "0.20"
|