12 releases (6 breaking)

new 0.7.0 May 23, 2025
0.6.4 Jul 31, 2024
0.6.1 Jul 10, 2023
0.6.0 Jun 12, 2022
0.1.1 Dec 28, 2020

#1689 in Parser implementations

Download history 4732/week @ 2025-02-03 4757/week @ 2025-02-10 4432/week @ 2025-02-17 4719/week @ 2025-02-24 5250/week @ 2025-03-03 5584/week @ 2025-03-10 5640/week @ 2025-03-17 5897/week @ 2025-03-24 6173/week @ 2025-03-31 6152/week @ 2025-04-07 4934/week @ 2025-04-14 5240/week @ 2025-04-21 4776/week @ 2025-04-28 4480/week @ 2025-05-05 4998/week @ 2025-05-12 6221/week @ 2025-05-19

20,886 downloads per month
Used in 4 crates

MIT license

50KB
1.5K SLoC

LSP Async Stub

This library provides utilities and a basic server stub for asynchronous LSP communication with JSON RPC.

Used mainly by taplo-lsp.

The server stub expects async handlers that will be called for each message along with the parameters in the message and a context for shared data, cancellation and sending further requests/notifications back to the client. It also handles invalid messages, initialization and teardown according to the LSP spec.

Dependencies

~5–15MB
~185K SLoC