2022-03-08 15:08:35 +00:00
|
|
|
[package]
|
|
|
|
name = "lapce-core"
|
2022-06-11 11:29:58 +00:00
|
|
|
version = "0.1.2"
|
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"
|
2022-05-09 04:25:42 +00:00
|
|
|
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-06-17 19:41:21 +00:00
|
|
|
tree-sitter-elm = { version = "5.6.0", optional = true }
|
2022-06-18 12:17:22 +00:00
|
|
|
tree-sitter-swift = { version = "0.3.0", optional = true }
|
|
|
|
tree-sitter-ql = { git = "https://github.com/tree-sitter/tree-sitter-ql", version = "0.19.0", optional = true }
|
|
|
|
tree-sitter-haskell = { git = "https://github.com/tree-sitter/tree-sitter-haskell", version = "0.14.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"] }
|
2022-03-26 12:35:57 +00:00
|
|
|
lapce-rpc = { path = "../lapce-rpc" }
|
2022-05-09 04:25:42 +00:00
|
|
|
|
|
|
|
[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"]
|
2022-05-09 20:15:04 +00:00
|
|
|
lang-javascript = ["dep:tree-sitter-javascript"]
|
2022-05-09 04:25:42 +00:00
|
|
|
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"]
|
2022-05-09 20:15:04 +00:00
|
|
|
lang-ruby = ["dep:tree-sitter-ruby"]
|
2022-05-09 04:25:42 +00:00
|
|
|
lang-c = ["dep:tree-sitter-c"]
|
|
|
|
lang-cpp = ["dep:tree-sitter-cpp"]
|
2022-05-09 20:15:04 +00:00
|
|
|
lang-json = ["dep:tree-sitter-json"]
|
2022-05-09 04:25:42 +00:00
|
|
|
lang-md = ["dep:tree-sitter-md"]
|
|
|
|
lang-html = ["dep:tree-sitter-html"]
|
|
|
|
lang-java = ["dep:tree-sitter-java"]
|
2022-06-17 19:41:21 +00:00
|
|
|
lang-elm = ["dep:tree-sitter-elm"]
|
2022-06-18 12:17:22 +00:00
|
|
|
lang-swift = ["dep:tree-sitter-swift"]
|
|
|
|
lang-ql = ["dep:tree-sitter-ql"]
|
|
|
|
lang-haskell = ["dep:tree-sitter-haskell"]
|