lsp

Crates.iolsp
lib.rslsp
version0.1.0
created_at2026-01-08 10:04:39.861722+00
updated_at2026-01-08 10:04:39.861722+00
descriptionLanguage Server Protocol
homepagehttps://github.com/macmv/lsp
repositoryhttps://github.com/macmv/lsp
max_upload_size
id2029890
size381,798
Neil Macneale V (macmv)

documentation

https://docs.rs/lsp

README

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
Commit count: 100

cargo fmt