taplo/crates/lsp-async-stub
2025-05-23 02:51:32 +02:00
..
src Update taplo to use workspace dependencies (#598) 2024-08-16 09:33:44 +02:00
.gitignore feat: pretty much a rewrite (WIP) 2022-03-26 23:19:49 +01:00
Cargo.toml release: lsp-async-stub 0.7.0 2025-05-23 02:51:32 +02:00
README.md feat: pretty much a rewrite (WIP) 2022-03-26 23:19:49 +01:00

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.