mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
45ce1ebdb6
We should not depend on jsonrpc-core anymore: * The project just announced it's no longer actively maintained[^1], preferring their new implementation in `jsonrpsee`. * The types are too strict: we would benefit from removing some `#[serde(deny_unknown_fields)]` annotations to allow language servers that disrespect the spec[^2]. * We don't use much of the project. Just the types out of core. These are easy to embed directly into the `helix-lsp` crate. [^1]: https://github.com/paritytech/jsonrpc/pull/674 [^2]: https://github.com/helix-editor/helix/issues/2786
28 lines
952 B
TOML
28 lines
952 B
TOML
[package]
|
|
name = "helix-lsp"
|
|
version = "0.6.0"
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
description = "LSP client implementation for Helix project"
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
helix-core = { version = "0.6", path = "../helix-core" }
|
|
|
|
anyhow = "1.0"
|
|
futures-executor = "0.3"
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
|
log = "0.4"
|
|
lsp-types = { version = "0.93", features = ["proposed"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "1.0"
|
|
tokio = { version = "1.19", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot", "sync"] }
|
|
tokio-stream = "0.1.9"
|
|
which = "4.2"
|