2021-10-20 23:51:40 +03:00
|
|
|
[package]
|
|
|
|
name = "language"
|
|
|
|
version = "0.1.0"
|
2021-12-06 21:48:45 +03:00
|
|
|
edition = "2021"
|
2023-01-18 23:28:02 +03:00
|
|
|
publish = false
|
2021-10-20 23:51:40 +03:00
|
|
|
|
2021-11-30 22:46:39 +03:00
|
|
|
[lib]
|
|
|
|
path = "src/language.rs"
|
2022-03-04 03:15:56 +03:00
|
|
|
doctest = false
|
2021-11-30 22:46:39 +03:00
|
|
|
|
2021-10-20 23:51:40 +03:00
|
|
|
[features]
|
2021-11-03 03:41:01 +03:00
|
|
|
test-support = [
|
|
|
|
"rand",
|
2022-02-22 00:54:52 +03:00
|
|
|
"client/test-support",
|
2021-12-06 14:10:25 +03:00
|
|
|
"collections/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
"lsp/test-support",
|
2021-12-06 14:10:25 +03:00
|
|
|
"text/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
"tree-sitter-rust",
|
2022-04-25 23:14:05 +03:00
|
|
|
"tree-sitter-typescript",
|
2022-07-29 00:03:31 +03:00
|
|
|
"settings/test-support",
|
2021-12-04 16:57:56 +03:00
|
|
|
"util/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
]
|
2021-10-20 23:51:40 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-22 00:54:52 +03:00
|
|
|
client = { path = "../client" }
|
2021-10-20 23:51:40 +03:00
|
|
|
clock = { path = "../clock" }
|
2021-12-06 14:10:25 +03:00
|
|
|
collections = { path = "../collections" }
|
2022-01-13 17:10:29 +03:00
|
|
|
fuzzy = { path = "../fuzzy" }
|
2022-10-12 01:25:54 +03:00
|
|
|
fs = { path = "../fs" }
|
2022-09-28 18:43:33 +03:00
|
|
|
git = { path = "../git" }
|
2021-10-20 23:51:40 +03:00
|
|
|
gpui = { path = "../gpui" }
|
2021-10-26 20:42:40 +03:00
|
|
|
lsp = { path = "../lsp" }
|
2021-10-20 23:51:40 +03:00
|
|
|
rpc = { path = "../rpc" }
|
2022-07-28 23:00:05 +03:00
|
|
|
settings = { path = "../settings" }
|
2021-12-04 16:57:56 +03:00
|
|
|
sum_tree = { path = "../sum_tree" }
|
2021-12-06 14:10:25 +03:00
|
|
|
text = { path = "../text" }
|
2021-10-20 23:51:40 +03:00
|
|
|
theme = { path = "../theme" }
|
2021-10-21 14:08:11 +03:00
|
|
|
util = { path = "../util" }
|
2023-04-25 03:41:55 +03:00
|
|
|
anyhow.workspace = true
|
2022-10-24 11:04:08 +03:00
|
|
|
async-broadcast = "0.4"
|
2023-04-25 03:41:55 +03:00
|
|
|
async-trait.workspace = true
|
|
|
|
futures.workspace = true
|
|
|
|
lazy_static.workspace = true
|
|
|
|
log.workspace = true
|
|
|
|
parking_lot.workspace = true
|
|
|
|
postage.workspace = true
|
|
|
|
rand = { workspace = true, optional = true }
|
|
|
|
regex.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
serde_derive.workspace = true
|
|
|
|
serde_json.workspace = true
|
2021-10-20 23:51:40 +03:00
|
|
|
similar = "1.3"
|
2023-04-25 03:41:55 +03:00
|
|
|
smallvec.workspace = true
|
|
|
|
smol.workspace = true
|
2022-02-05 00:18:58 +03:00
|
|
|
tree-sitter = "0.20"
|
2022-04-25 23:14:05 +03:00
|
|
|
tree-sitter-rust = { version = "*", optional = true }
|
|
|
|
tree-sitter-typescript = { version = "*", optional = true }
|
2023-01-20 12:41:40 +03:00
|
|
|
unicase = "2.6"
|
2021-10-20 23:51:40 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-02-22 00:54:52 +03:00
|
|
|
client = { path = "../client", features = ["test-support"] }
|
2021-12-06 14:10:25 +03:00
|
|
|
collections = { path = "../collections", features = ["test-support"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
gpui = { path = "../gpui", features = ["test-support"] }
|
2021-10-27 01:46:08 +03:00
|
|
|
lsp = { path = "../lsp", features = ["test-support"] }
|
2021-12-06 14:10:25 +03:00
|
|
|
text = { path = "../text", features = ["test-support"] }
|
2022-07-29 00:03:31 +03:00
|
|
|
settings = { path = "../settings", features = ["test-support"] }
|
2021-12-04 16:57:56 +03:00
|
|
|
util = { path = "../util", features = ["test-support"] }
|
2023-04-25 03:41:55 +03:00
|
|
|
ctor.workspace = true
|
|
|
|
env_logger.workspace = true
|
2023-02-16 01:04:16 +03:00
|
|
|
indoc = "1.0.4"
|
2023-04-25 03:41:55 +03:00
|
|
|
rand.workspace = true
|
2023-01-20 12:56:20 +03:00
|
|
|
tree-sitter-embedded-template = "*"
|
2022-10-06 03:58:10 +03:00
|
|
|
tree-sitter-html = "*"
|
|
|
|
tree-sitter-javascript = "*"
|
2022-04-22 23:49:03 +03:00
|
|
|
tree-sitter-json = "*"
|
2023-01-20 12:56:20 +03:00
|
|
|
tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
|
2022-04-22 23:49:03 +03:00
|
|
|
tree-sitter-rust = "*"
|
2022-06-28 07:56:48 +03:00
|
|
|
tree-sitter-python = "*"
|
2022-04-28 11:12:10 +03:00
|
|
|
tree-sitter-typescript = "*"
|
2022-11-02 01:36:47 +03:00
|
|
|
tree-sitter-ruby = "*"
|
2023-04-25 03:41:55 +03:00
|
|
|
unindent.workspace = true
|