Overview of the Rust MCAP library
mainThe Rust MCAP library is designed for reading and writing Foxglove MCAP files. It focuses on three core design goals:
- Simple APIs: Provides high-level iteration over messages where messages are automatically linked to their respective channels and schemas, removing the need for manual ID tracking.
- Performance: Optimized for low memory overhead. Writers avoid holding large buffers in memory, and readers support memory-mapped files to minimize copies and leverage OS-level caching.
- Resilience: Designed to recover all valid messages even from incomplete files or corrupted chunks.