Breaking changes
- Rename the
block
module tobulk
. It was never really zstd' "block" API (which apparently might not even stay public forever), but just a way to compress data that fits entirely in-memory.- It was also refreshed to be on-par with the stream API regarding dictionaries and compression parameters.
Updates
- Update zstd to 1.5.2
- zstd_safe: Add
{C,D}Ctx::try_clone
to clone an existing context. Note that this only clones the compression parameters, not the current "stream context". As such, it should only be called before any data has been sent. - Documentation: add doc-cfg tags to indicate the features required for each type/function.