| Crates.io | lsp-async-stub |
| lib.rs | lsp-async-stub |
| version | 0.7.0 |
| created_at | 2020-12-28 03:40:57.130586+00 |
| updated_at | 2025-05-23 00:53:39.953536+00 |
| description | An LSP server stub for futures |
| homepage | https://taplo.tamasfe.dev |
| repository | https://github.com/tamasfe/taplo |
| max_upload_size | |
| id | 328109 |
| size | 68,057 |
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.