2021-10-05 01:06:12 +03:00
|
|
|
[package]
|
|
|
|
name = "editor"
|
|
|
|
version = "0.1.0"
|
2022-01-11 20:30:25 +03:00
|
|
|
edition = "2021"
|
2023-01-18 23:28:02 +03:00
|
|
|
publish = false
|
2021-10-05 01:06:12 +03:00
|
|
|
|
2021-11-30 22:46:39 +03:00
|
|
|
[lib]
|
|
|
|
path = "src/editor.rs"
|
2022-03-04 03:15:56 +03:00
|
|
|
doctest = false
|
2021-11-30 22:46:39 +03:00
|
|
|
|
2021-10-05 01:06:12 +03:00
|
|
|
[features]
|
2021-10-21 10:40:50 +03:00
|
|
|
test-support = [
|
2021-12-11 03:37:53 +03:00
|
|
|
"rand",
|
2023-04-05 11:26:43 +03:00
|
|
|
"copilot/test-support",
|
2021-11-30 22:26:12 +03:00
|
|
|
"text/test-support",
|
2021-10-21 10:40:50 +03:00
|
|
|
"language/test-support",
|
|
|
|
"gpui/test-support",
|
2022-02-09 02:48:44 +03:00
|
|
|
"project/test-support",
|
2021-12-04 16:57:56 +03:00
|
|
|
"util/test-support",
|
2022-02-25 02:27:11 +03:00
|
|
|
"workspace/test-support",
|
2023-02-16 01:28:50 +03:00
|
|
|
"tree-sitter-rust",
|
|
|
|
"tree-sitter-typescript"
|
2021-10-21 10:40:50 +03:00
|
|
|
]
|
2021-10-05 01:06:12 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-28 23:06:55 +03:00
|
|
|
client = { path = "../client" }
|
2021-10-05 01:06:12 +03:00
|
|
|
clock = { path = "../clock" }
|
2023-03-26 13:30:21 +03:00
|
|
|
copilot = { path = "../copilot" }
|
2022-11-17 03:35:56 +03:00
|
|
|
db = { path = "../db" }
|
2023-03-26 13:30:21 +03:00
|
|
|
drag_and_drop = { path = "../drag_and_drop" }
|
2021-12-11 03:37:53 +03:00
|
|
|
collections = { path = "../collections" }
|
2022-07-12 00:14:33 +03:00
|
|
|
context_menu = { path = "../context_menu" }
|
2022-02-01 17:11:20 +03:00
|
|
|
fuzzy = { path = "../fuzzy" }
|
2022-09-28 18:43:33 +03:00
|
|
|
git = { path = "../git" }
|
2021-10-05 01:06:12 +03:00
|
|
|
gpui = { path = "../gpui" }
|
2021-10-20 23:51:40 +03:00
|
|
|
language = { path = "../language" }
|
2022-02-02 02:35:02 +03:00
|
|
|
lsp = { path = "../lsp" }
|
2021-11-24 17:18:15 +03:00
|
|
|
project = { path = "../project" }
|
2022-03-18 03:53:49 +03:00
|
|
|
rpc = { path = "../rpc" }
|
2022-04-06 03:10:17 +03:00
|
|
|
settings = { path = "../settings" }
|
2022-02-02 02:35:02 +03:00
|
|
|
snippet = { path = "../snippet" }
|
2021-10-05 01:36:52 +03:00
|
|
|
sum_tree = { path = "../sum_tree" }
|
2023-03-26 13:30:21 +03:00
|
|
|
text = { path = "../text" }
|
2021-10-05 20:21:13 +03:00
|
|
|
theme = { path = "../theme" }
|
2021-10-05 01:36:52 +03:00
|
|
|
util = { path = "../util" }
|
2022-11-17 03:35:56 +03:00
|
|
|
sqlez = { path = "../sqlez" }
|
2021-11-24 19:07:16 +03:00
|
|
|
workspace = { path = "../workspace" }
|
2023-03-26 13:30:21 +03:00
|
|
|
|
2021-11-25 17:44:06 +03:00
|
|
|
aho-corasick = "0.7"
|
2023-04-25 03:41:55 +03:00
|
|
|
anyhow.workspace = true
|
|
|
|
futures.workspace = true
|
2022-04-07 00:41:51 +03:00
|
|
|
indoc = "1.0.4"
|
2021-12-11 23:42:46 +03:00
|
|
|
itertools = "0.10"
|
2023-04-25 03:41:55 +03:00
|
|
|
lazy_static.workspace = true
|
|
|
|
log.workspace = true
|
|
|
|
ordered-float.workspace = true
|
|
|
|
parking_lot.workspace = true
|
|
|
|
postage.workspace = true
|
2023-04-27 23:58:30 +03:00
|
|
|
pulldown-cmark = { version = "0.9.2", default-features = false }
|
2023-04-25 03:41:55 +03:00
|
|
|
rand = { workspace = true, optional = true }
|
|
|
|
serde.workspace = true
|
|
|
|
serde_derive.workspace = true
|
|
|
|
smallvec.workspace = true
|
|
|
|
smol.workspace = true
|
2022-06-09 23:14:25 +03:00
|
|
|
tree-sitter-rust = { version = "*", optional = true }
|
2022-09-01 02:50:44 +03:00
|
|
|
tree-sitter-html = { version = "*", optional = true }
|
|
|
|
tree-sitter-javascript = { version = "*", optional = true }
|
2023-02-16 23:24:35 +03:00
|
|
|
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259", optional = true }
|
2021-10-05 01:06:12 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-04-05 11:26:43 +03:00
|
|
|
copilot = { path = "../copilot", features = ["test-support"] }
|
2021-11-30 22:26:12 +03:00
|
|
|
text = { path = "../text", features = ["test-support"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
language = { path = "../language", features = ["test-support"] }
|
2022-02-01 03:50:51 +03:00
|
|
|
lsp = { path = "../lsp", features = ["test-support"] }
|
2021-10-05 18:47:46 +03:00
|
|
|
gpui = { path = "../gpui", features = ["test-support"] }
|
2021-12-04 16:57:56 +03:00
|
|
|
util = { path = "../util", features = ["test-support"] }
|
2022-02-09 02:48:44 +03:00
|
|
|
project = { path = "../project", features = ["test-support"] }
|
2022-04-06 03:10:17 +03:00
|
|
|
settings = { path = "../settings", features = ["test-support"] }
|
2022-02-25 02:27:11 +03:00
|
|
|
workspace = { path = "../workspace", features = ["test-support"] }
|
2023-04-25 03:41:55 +03:00
|
|
|
|
|
|
|
ctor.workspace = true
|
|
|
|
env_logger.workspace = true
|
2023-04-28 04:06:52 +03:00
|
|
|
glob.workspace = true
|
2023-04-25 03:41:55 +03:00
|
|
|
rand.workspace = true
|
|
|
|
unindent.workspace = true
|
2021-12-06 08:37:08 +03:00
|
|
|
tree-sitter = "0.20"
|
|
|
|
tree-sitter-rust = "0.20"
|
2022-09-01 02:50:44 +03:00
|
|
|
tree-sitter-html = "0.19"
|
2023-02-16 23:24:35 +03:00
|
|
|
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
|
2022-09-01 02:50:44 +03:00
|
|
|
tree-sitter-javascript = "0.20"
|