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

#1362 in Network programming

Download history 509/week @ 2023-11-20 674/week @ 2023-11-27 656/week @ 2023-12-04 836/week @ 2023-12-11 730/week @ 2023-12-18 487/week @ 2023-12-25 2485/week @ 2024-01-01 6237/week @ 2024-01-08 7313/week @ 2024-01-15 7337/week @ 2024-01-22 5995/week @ 2024-01-29 7652/week @ 2024-02-05 8262/week @ 2024-02-12 8863/week @ 2024-02-19 11050/week @ 2024-02-26 14042/week @ 2024-03-04

43,190 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–16MB
~211K SLoC