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" }
|
2021-10-20 23:51:40 +03:00
|
|
|
anyhow = "1.0.38"
|
2022-10-24 11:04:08 +03:00
|
|
|
async-broadcast = "0.4"
|
2021-12-23 20:35:50 +03:00
|
|
|
async-trait = "0.1"
|
2021-10-21 14:08:11 +03:00
|
|
|
futures = "0.3"
|
2021-10-20 23:51:40 +03:00
|
|
|
lazy_static = "1.4"
|
2022-04-08 19:06:51 +03:00
|
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
parking_lot = "0.11.1"
|
2021-10-26 20:42:40 +03:00
|
|
|
postage = { version = "0.4.1", features = ["futures-traits"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
rand = { version = "0.8.3", optional = true }
|
2022-06-28 07:56:48 +03:00
|
|
|
regex = "1.5"
|
2022-05-31 12:16:32 +03:00
|
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
2022-02-02 18:22:38 +03:00
|
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
similar = "1.3"
|
2021-12-06 14:10:25 +03:00
|
|
|
smallvec = { version = "1.6", features = ["union"] }
|
2021-10-20 23:51:40 +03:00
|
|
|
smol = "1.2"
|
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"] }
|
2021-12-06 18:08:17 +03:00
|
|
|
ctor = "0.1"
|
2022-06-03 03:24:57 +03:00
|
|
|
env_logger = "0.9"
|
2023-02-16 01:04:16 +03:00
|
|
|
indoc = "1.0.4"
|
2021-10-20 23:51:40 +03:00
|
|
|
rand = "0.8.3"
|
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 = "*"
|
2021-10-20 23:51:40 +03:00
|
|
|
unindent = "0.1.7"
|