#language-server-protocol #lsp

lspt

Language Server Protocol (LSP) types made easy

3 releases (breaking)

Uses new Rust 2024

new 0.3.0 Feb 5, 2026
0.2.0 Mar 27, 2025
0.1.0 Feb 18, 2025

#409 in Text editors

Download history 20/week @ 2025-10-16 20/week @ 2025-10-23 7/week @ 2025-10-30 6/week @ 2025-11-06 20/week @ 2025-11-13 1/week @ 2025-11-20 10/week @ 2025-11-27 4/week @ 2025-12-04 2/week @ 2025-12-11 10/week @ 2025-12-18 25/week @ 2025-12-25 3/week @ 2026-01-15 61/week @ 2026-01-22 57/week @ 2026-01-29

121 downloads per month
Used in 2 crates

MIT license

375KB
4K SLoC

lspt

Types of Language Server Protocol.

Proposed Types

To use proposed types, enable the proposed feature. This is disabled by default.

URI Implementation

By default, this library uses String as URI. If this doesn't satisfy your requirements, enable the url feature and it will switch to url::Url.

Hashmap Implementation

By default, this library uses rustc_hash::FxHashMap as hashmap implementation, but can be disabled.

You can also enable the indexmap feature for preserve the order in map.

Dependencies

~0.6–2.1MB
~41K SLoC