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