lapce/lapce-core/Cargo.toml

62 lines
2.2 KiB
TOML
Raw Normal View History

2022-03-08 15:08:35 +00:00
[package]
name = "lapce-core"
version.workspace = true
authors.workspace = true
edition.workspace = true
2022-03-08 15:08:35 +00:00
[dependencies]
anyhow.workspace = true
directories.workspace = true
itertools.workspace = true
once_cell.workspace = true
serde.workspace = true
strum.workspace = true
strum_macros.workspace = true
thiserror.workspace = true
tracing.workspace = true
lsp-types.workspace = true
lapce-xi-rope.workspace = true
lapce-rpc.workspace = true
libloading = "0.7.3"
2022-04-21 11:00:44 +00:00
bitflags = "1.3.2"
2022-09-10 05:55:50 +00:00
slotmap = "1.0"
arc-swap = "1.5.1"
tree-sitter = "0.20.7"
2022-09-30 20:10:32 +00:00
2022-11-15 18:18:57 +00:00
# please keep below dependencies and features sorted just like LANGUAGES in language.rs
tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "4488aa41406547e478636a4fcfd24f5bbc3f2f74", optional = true }
2022-11-30 16:43:31 +00:00
tree-sitter-c = { version = "0.20.2", optional = true }
tree-sitter-cpp = { version = "0.20.0", optional = true }
2022-09-30 20:10:32 +00:00
tree-sitter-javascript = { version = "0.20.0", optional = true }
# new version cannot be published on crates.io - https://github.com/tree-sitter/tree-sitter-json/issues/21
# tree-sitter-json = { version = "0.19.0", optional = true }
tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json.git", rev = "11e2cc12d9b267766fb11a06e52952792fd8e3f0", optional = true }
tree-sitter-md = { git = "https://github.com/MDeiml/tree-sitter-markdown.git", rev = "272e080bca0efd19a06a7f4252d746417224959e", optional = true }
2022-09-30 20:10:32 +00:00
tree-sitter-rust = { version = "0.20.0", optional = true }
tree-sitter-toml = { version = "0.20.0", optional = true }
tree-sitter-yaml = { git = "https://github.com/panekj/tree-sitter-yaml", rev = "80c8d76847f03e772c5c524cf29bafb56858a8d1", optional = true }
[features]
default = []
portable = []
# See lapce-ui/Cargo.toml for how to choose the languages. See also
# src/language.rs for how to add new languages. The feature names should follow
# the tree-sitter crate names.
2022-09-30 20:10:32 +00:00
lang-bash = ["dep:tree-sitter-bash"]
lang-c = ["dep:tree-sitter-c"]
lang-cpp = ["dep:tree-sitter-cpp"]
2022-09-30 20:10:32 +00:00
lang-javascript = ["dep:tree-sitter-javascript"]
lang-json = ["dep:tree-sitter-json"]
lang-markdown = ["dep:tree-sitter-md"]
lang-rust = ["dep:tree-sitter-rust"]
lang-toml = ["dep:tree-sitter-toml"]
lang-yaml = ["dep:tree-sitter-yaml"]
2023-05-14 19:54:17 +00:00
[build-dependencies]
anyhow.workspace = true