lsp 0.1.0

Language Server Protocol
Documentation

Language Server Protocol for Rust

Latest Version

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: Enables serde_json/raw_value, and uses a Box<RawValue> for LspAny instead of a serde_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