A rust binding for the zstd compression library.
MIT License
Published by gyscos about 1 year ago
OutBuffer::dst
is no longer public.OutBuffer::as_mut_ptr
and OutBuffer::capacity
.Published by gyscos about 1 year ago
Published by gyscos over 2 years ago
zdict_builder
default feature.Can now compile for wasm32-unknown-unknown
target.
block
module to bulk
. 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.
{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.This bumps the zstd version to 1.5.1.
It also brings some improvements to the rust wrapper:
zstdmt
feature is enabledarrays
feature to allow compatibility with old compilers.set_pledged_src_size
to encoders. This can improve the compression ratio, and makes the content size available in the compressed header.