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"
|
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",
|
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" }
|
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" }
|
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-02-22 03:11:40 +03:00
|
|
|
async-broadcast = "0.3.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-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 }
|
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"] }
|
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"
|
|
|
|
env_logger = "0.8"
|
2021-10-20 23:51:40 +03:00
|
|
|
rand = "0.8.3"
|
2022-04-22 23:49:03 +03:00
|
|
|
tree-sitter-json = "*"
|
|
|
|
tree-sitter-rust = "*"
|
2022-04-28 11:12:10 +03:00
|
|
|
tree-sitter-typescript = "*"
|
2021-10-20 23:51:40 +03:00
|
|
|
unindent = "0.1.7"
|