11 unstable releases

0.6.4 Jul 31, 2024
0.6.1 Jul 10, 2023
0.6.0 Jun 12, 2022
0.5.0 Mar 26, 2022
0.1.1 Dec 28, 2020

#513 in Asynchronous

Download history 3342/week @ 2024-10-13 3197/week @ 2024-10-20 3041/week @ 2024-10-27 3311/week @ 2024-11-03 3036/week @ 2024-11-10 2935/week @ 2024-11-17 3437/week @ 2024-11-24 3347/week @ 2024-12-01 4242/week @ 2024-12-08 4271/week @ 2024-12-15 2145/week @ 2024-12-22 2593/week @ 2024-12-29 4783/week @ 2025-01-05 4110/week @ 2025-01-12 3648/week @ 2025-01-19 3527/week @ 2025-01-26

16,254 downloads per month
Used in 4 crates

MIT license

49KB
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
~178K SLoC