Crate bsp_server

Source
Expand description

A build server scaffold, exposing a synchronous crossbeam-channel based API. This crate handles protocol handshaking and parsing messages, while you control the message dispatch loop yourself.

Run with RUST_LOG=bsp_server=trace to see all the messages.

inspired by lsp-server

Re-exports§

pub use bsp_types as types;

Structs§

Connection
Connection is just a pair of channels of LSP messages.
IoThreads
ProtocolError
RequestId
Response
ResponseError

Enums§

ErrorCode
ExtractError
Message
Notification
Request