tower-lsp 0.12.0
Pre-release
Pre-release
Added
- Add private subcrate
tower-lsp-macros
for internal use only (PR #202). - Implement cancellation support via
$/cancelRequest
(PR #202). - Officially support serving over TCP (PR #198).
Changed
- Update
lsp-types
crate from 0.74 to 0.79. - Have language servers store
Client
directly as struct field (PR #199). - Replace
jsonrpc-core
with minimal JSON-RPC implementation (PR #202). - Redefine
LspService
asService<Incoming, Response = Option<Outgoing>>
. - Implement
FusedStream
forMessageStream
.
Fixed
- Fix typo which caused
workspace/didChangeConfiguration
to break (PR #195). - Implement proper parse error recovery in LSP codec (PR #201).
- Refuse to accept further requests after
shutdown
has been called once.
Removed
- Remove dependency on
jsonrpc-core
, astower-lsp
no longer relies on it. - Remove
LspService::with_handler()
constructor (PR #202).