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

#436 in Asynchronous

Download history 3359/week @ 2024-07-21 4299/week @ 2024-07-28 3484/week @ 2024-08-04 3820/week @ 2024-08-11 3196/week @ 2024-08-18 3101/week @ 2024-08-25 2725/week @ 2024-09-01 2846/week @ 2024-09-08 2592/week @ 2024-09-15 3180/week @ 2024-09-22 3286/week @ 2024-09-29 3328/week @ 2024-10-06 3342/week @ 2024-10-13 3197/week @ 2024-10-20 3041/week @ 2024-10-27 3104/week @ 2024-11-03

12,998 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–14MB
~173K SLoC