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

#495 in Asynchronous

Download history 3208/week @ 2024-08-19 3048/week @ 2024-08-26 2723/week @ 2024-09-02 2874/week @ 2024-09-09 2563/week @ 2024-09-16 3223/week @ 2024-09-23 3199/week @ 2024-09-30 3423/week @ 2024-10-07 3349/week @ 2024-10-14 3131/week @ 2024-10-21 3027/week @ 2024-10-28 3405/week @ 2024-11-04 2971/week @ 2024-11-11 2914/week @ 2024-11-18 3546/week @ 2024-11-25 3000/week @ 2024-12-02

12,764 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
~176K SLoC