lapce/lapce-core/Cargo.toml

57 lines
2.4 KiB
TOML
Raw Normal View History

2022-03-08 15:08:35 +00:00
[package]
name = "lapce-core"
2022-05-19 13:02:48 +00:00
version = "0.1.1"
2022-03-08 15:08:35 +00:00
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
2022-03-08 20:55:56 +00:00
edition = "2021"
2022-03-08 15:08:35 +00:00
[dependencies]
2022-03-17 09:46:41 +00:00
thiserror = "1.0"
2022-03-10 22:07:20 +00:00
itertools = "0.10.3"
2022-04-21 11:00:44 +00:00
log = "0.4.14"
bitflags = "1.3.2"
strum = "0.24.0"
strum_macros = "0.24"
2022-03-21 09:10:41 +00:00
serde = "1.0"
2022-03-10 22:07:20 +00:00
serde_json = "1.0"
2022-03-08 20:55:56 +00:00
tree-sitter = "0.20.6"
2022-03-17 09:46:41 +00:00
tree-sitter-highlight = "0.20.1"
tree-sitter-rust = { version = "0.20.0", optional = true }
tree-sitter-go = { version = "0.19.1", optional = true }
tree-sitter-javascript = { version = "0.20.0", optional = true }
tree-sitter-typescript = { version = "0.20.0", optional = true }
tree-sitter-python = { version = "0.19.1", optional = true }
tree-sitter-toml = { version = "0.20.0", optional = true }
tree-sitter-elixir = { git = "https://github.com/elixir-lang/tree-sitter-elixir.git", version = "0.19.0", optional = true }
tree-sitter-php = { git = "https://github.com/tree-sitter/tree-sitter-php.git", version = "0.19.1", optional = true }
tree-sitter-ruby = { git = "https://github.com/Liberatys/tree-sitter-ruby.git", branch = "chore/allow-range-of-tree-sitter", optional = true }
tree-sitter-c = { version = "0.20.1", optional = true }
tree-sitter-cpp = { version = "0.20.0", optional = true }
tree-sitter-json = { version = "0.19.0", optional = true }
tree-sitter-md = { git = "https://github.com/MDeiml/tree-sitter-markdown.git", version = "0.0.1", optional = true }
tree-sitter-html = { version = "0.19.0", optional = true }
tree-sitter-java = { git = "https://github.com/tree-sitter/tree-sitter-java.git", version = "0.20.0", optional = true }
2022-05-01 20:48:55 +00:00
lsp-types = { version = "0.89.2", features = ["proposed"] }
2022-03-10 22:07:20 +00:00
xi-rope = { git = "https://github.com/lapce/xi-editor", features = ["serde"] }
lapce-rpc = { path = "../lapce-rpc" }
[features]
default = []
# 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.
lang-rust = ["dep:tree-sitter-rust"]
lang-go = ["dep:tree-sitter-go"]
lang-javascript = ["dep:tree-sitter-javascript"]
lang-typescript = ["dep:tree-sitter-typescript"]
lang-python = ["dep:tree-sitter-python"]
lang-toml = ["dep:tree-sitter-toml"]
lang-elixir = ["dep:tree-sitter-elixir"]
lang-php = ["dep:tree-sitter-php"]
lang-ruby = ["dep:tree-sitter-ruby"]
lang-c = ["dep:tree-sitter-c"]
lang-cpp = ["dep:tree-sitter-cpp"]
lang-json = ["dep:tree-sitter-json"]
lang-md = ["dep:tree-sitter-md"]
lang-html = ["dep:tree-sitter-html"]
lang-java = ["dep:tree-sitter-java"]