Expand description
lspkit-sidecar — framed-IPC primitives and lifecycle management for
out-of-process backends.
Pure transport. This crate has no opinion on the wire format
(MessagePack, JSON, CBOR — caller’s choice), no knowledge of any specific
backend technology, and no protocol payload types. Three layers:
transport— 4-byte little-endian length-prefixed frames.correlator— request-ID → response-future routing.lifecycle— spawn / health-ping / exponential-backoff restart.
Re-exports§
pub use crate::correlator::CorrelationError;pub use crate::correlator::Correlator;pub use crate::correlator::RequestId;pub use crate::lifecycle::LifecycleConfig;pub use crate::lifecycle::LifecycleError;pub use crate::lifecycle::Sidecar;pub use crate::transport::read_frame;pub use crate::transport::write_frame;pub use crate::transport::TransportError;pub use crate::transport::DEFAULT_MAX_FRAME;
Modules§
- correlator
- Request-ID correlation.
- lifecycle
- Sidecar lifecycle: spawn, health, restart.
- transport
- Length-prefixed framed transport.