Language Server Protocol for Rust
This crate exposes all types defined in the Language Server Protocol.
Most of the code here is generated from the LSP meta model. The generator is written in the lsp-generator crate.
Features
raw_value: Enablesserde_json/raw_value, and uses aBox<RawValue>forLspAnyinstead of aserde_json::Value.
Building
The generator isn't part of a buildscript, so you need to run it manually. This is intentional, as downstream crates shouldn't regenerate the schema.
cargo run -p lsp-generator --release