2022-03-08 15:08:35 +00:00
|
|
|
[package]
|
|
|
|
name = "lapce-core"
|
2023-01-13 19:25:55 +00:00
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
2022-03-08 15:08:35 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-13 19:25:55 +00:00
|
|
|
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
|
2023-06-19 14:51:30 +00:00
|
|
|
tracing.workspace = true
|
2023-01-13 19:25:55 +00:00
|
|
|
|
|
|
|
lsp-types.workspace = true
|
|
|
|
|
|
|
|
lapce-xi-rope.workspace = true
|
|
|
|
|
|
|
|
lapce-rpc.workspace = true
|
|
|
|
|
2023-06-22 17:38:41 +00:00
|
|
|
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"
|
2022-06-24 16:38:50 +00:00
|
|
|
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
|
|
|
|
|
2023-01-13 19:25:55 +00:00
|
|
|
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 }
|
2022-05-09 04:25:42 +00:00
|
|
|
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 }
|
2023-01-13 19:25:55 +00:00
|
|
|
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 }
|
2023-01-13 19:25:55 +00:00
|
|
|
tree-sitter-yaml = { git = "https://github.com/panekj/tree-sitter-yaml", rev = "80c8d76847f03e772c5c524cf29bafb56858a8d1", optional = true }
|
2022-05-09 04:25:42 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
2023-03-22 08:37:18 +00:00
|
|
|
portable = []
|
2022-05-09 04:25:42 +00:00
|
|
|
# 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"]
|
2022-05-09 04:25:42 +00:00
|
|
|
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
|