mcap
mcap copied to clipboard
Make zstd optional in Rust library
Public-Facing Changes Makes zstd an optional dependency for the Rust library.
Description This makes it possible to build the Rust library without built-in zstd compression support. The default build will still include it.
Note this also required adding an uncompressed version of the demo.mcap test data because when the Rust code is compiled without zstd it is unable to read the existing demo.mcap for test purposes.
Fixes #648
Note - this doesn't seem to reduce the binary size by very much.
Would we be interested in doing a similar feature flag for lz4 in a subsequent PR?
@mrkline It seems like it would be similarly straightforward to also make lz4 optional, right?
@foxymiles yeah, absolutely!
@james-rms Ok to merge now?