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

#113 in Text editors

Download history 6558/week @ 2024-01-05 6793/week @ 2024-01-12 6476/week @ 2024-01-19 6584/week @ 2024-01-26 6961/week @ 2024-02-02 8198/week @ 2024-02-09 8446/week @ 2024-02-16 10468/week @ 2024-02-23 13136/week @ 2024-03-01 12206/week @ 2024-03-08 14869/week @ 2024-03-15 13987/week @ 2024-03-22 10212/week @ 2024-03-29 7934/week @ 2024-04-05 7174/week @ 2024-04-12 5656/week @ 2024-04-19

33,581 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–17MB
~215K SLoC