| Crates.io | emmy_lsp_types |
| lib.rs | emmy_lsp_types |
| version | 0.1.0 |
| created_at | 2025-10-14 05:49:05.418559+00 |
| updated_at | 2025-10-14 05:49:05.418559+00 |
| description | LSP types for Rust, with enhanced features and strict linting |
| homepage | |
| repository | https://github.com/EmmyLuaLs/emmy_lsp_types |
| max_upload_size | |
| id | 1881727 |
| size | 434,364 |
Language Server Protocol types for Rust - A fork of lsp-types with enhancements.
This library provides Rust types for the Language Server Protocol (LSP). It's a fork of the excellent lsp-types crate with additional features and improvements.
fluent-uri to the battle-tested url crate (100M+ downloads)Hash, Eq, Ord, FromStrSnippetTextEdit - Code snippet editing with tab stopsDocumentRangesFormattingParams - Format multiple ranges at onceOneOf3 enum - Three-way type unionsAdd this to your Cargo.toml:
[dependencies]
emmy_lsp_types = "0.1.0"
# Run all tests
cargo test
# Run with output
cargo test -- --nocapture
# Run specific test module
cargo test uri::test
This project maintains high code quality standards:
# Check formatting
cargo fmt --check
# Run Clippy (should produce 0 warnings)
cargo clippy --all-targets
# Build in release mode
cargo build --release
#[cfg(windows)] and #[cfg(unix)]# Debug build
cargo build
# Release build
cargo build --release
# Run tests
cargo test
# Format code
cargo fmt
# Check lints
cargo clippy --all-targets
Contributions are welcome! Please feel free to submit a Pull Request.
cargo fmt before committingcargo clippy --all-targets produces no warningsThis project is licensed under the same terms as the original lsp-types crate.
This project is a fork of lsp-types by the Gluon team. We're grateful for their excellent work on the original implementation.
We created this fork to:
url crate