foxglove / mcap

MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.
https://mcap.dev
MIT License
523 stars 96 forks source link

rust: add async reading functionality #1211

Closed james-rms closed 1 month ago

james-rms commented 2 months ago

Changelog

Docs

Description

Adds an async RecordReaderimplementation, for reading MCAP data asynchronously. This is an optional feature, named tokio. I chose this feature flag name and this module name because this functionality is tied heavily into the Tokio ecosystem. If at some point we rebuild this to be async-executor-agnostic, we can add that functionality under a new module and feature flag name.

BeforeAfter
james-rms commented 2 months ago

@mrkline do you have strong opinions on lz4-flex vs lz4?