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

#182 in Text editors

Download history 4444/week @ 2024-12-14 2110/week @ 2024-12-21 2632/week @ 2024-12-28 4563/week @ 2025-01-04 4259/week @ 2025-01-11 3621/week @ 2025-01-18 3816/week @ 2025-01-25 4555/week @ 2025-02-01 4630/week @ 2025-02-08 4668/week @ 2025-02-15 4743/week @ 2025-02-22 4492/week @ 2025-03-01 6211/week @ 2025-03-08 5332/week @ 2025-03-15 6093/week @ 2025-03-22 5205/week @ 2025-03-29

23,606 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–15MB
~177K SLoC