lnc-network
Network layer for the LANCE streaming platform.
Overview
This crate implements the Lance Wire Protocol (LWP):
- Protocol framing - 44-byte frame headers with CRC validation
- Connection handling - Async TCP/TLS connections
- Zero-copy parsing - Efficient frame parsing with minimal allocations
- Compression - Optional LZ4 and Zstd compression
Features
tls- Enable TLS support (rustls)lz4- Enable LZ4 compressioncompression- Enable all compression algorithms
Usage
This crate is primarily used as a dependency of lnc-client. Most users should depend on lnc-client directly.
License
Apache License 2.0 - see LICENSE for details.