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" }
|
2021-10-20 20:51:40 +00:00
|
|
|
anyhow = "1.0.38"
|
2022-10-24 08:04:08 +00:00
|
|
|
async-broadcast = "0.4"
|
2021-12-23 17:35:50 +00:00
|
|
|
async-trait = "0.1"
|
2021-10-21 11:08:11 +00:00
|
|
|
futures = "0.3"
|
2021-10-20 20:51:40 +00:00
|
|
|
lazy_static = "1.4"
|
2022-04-08 16:06:51 +00:00
|
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
2021-10-20 20:51:40 +00:00
|
|
|
parking_lot = "0.11.1"
|
2023-03-21 00:17:09 +00:00
|
|
|
postage = { workspace = true }
|
2021-10-20 20:51:40 +00:00
|
|
|
rand = { version = "0.8.3", optional = true }
|
2022-06-28 04:56:48 +00:00
|
|
|
regex = "1.5"
|
2023-03-23 09:29:25 +00:00
|
|
|
serde = { workspace = true }
|
|
|
|
serde_derive = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2021-10-20 20:51:40 +00:00
|
|
|
similar = "1.3"
|
2021-12-06 11:10:25 +00:00
|
|
|
smallvec = { version = "1.6", features = ["union"] }
|
2021-10-20 20:51:40 +00:00
|
|
|
smol = "1.2"
|
2022-02-04 21:18:58 +00:00
|
|
|
tree-sitter = "0.20"
|
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"] }
|
2021-12-06 15:08:17 +00:00
|
|
|
ctor = "0.1"
|
2022-06-03 00:24:57 +00:00
|
|
|
env_logger = "0.9"
|
2023-02-15 22:04:16 +00:00
|
|
|
indoc = "1.0.4"
|
2021-10-20 20:51:40 +00:00
|
|
|
rand = "0.8.3"
|
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 = "*"
|
2021-10-20 20:51:40 +00:00
|
|
|
unindent = "0.1.7"
|