10 releases (5 breaking)

0.6.1 Jul 10, 2023
0.6.0 Jun 12, 2022
0.5.0 Mar 26, 2022
0.4.0 Jan 28, 2022
0.1.1 Dec 28, 2020

#148 in Text editors

Download history 13652/week @ 2024-03-14 14557/week @ 2024-03-21 11589/week @ 2024-03-28 7563/week @ 2024-04-04 7984/week @ 2024-04-11 6406/week @ 2024-04-18 9455/week @ 2024-04-25 7944/week @ 2024-05-02 6749/week @ 2024-05-09 8443/week @ 2024-05-16 8768/week @ 2024-05-23 7426/week @ 2024-05-30 5466/week @ 2024-06-06 7438/week @ 2024-06-13 5067/week @ 2024-06-20 2505/week @ 2024-06-27

21,303 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

~4–14MB
~192K SLoC