Zstd Rs Versions Save

A rust binding for the zstd compression library.

zstd-sys-2.0.9

7 months ago
  • Fix build on wasm32 using default features
  • Fix allocation issues in wasm32
  • Use core::ffi rather than libc type aliases
  • Include zstd error methods and types in experimental bindings
  • Update bindgen from 0.64 to 0.68

zstd-safe-7.0.0

7 months ago
  • OutBuffer::dst is no longer public.
  • Added OutBuffer::as_mut_ptr and OutBuffer::capacity.
  • Replaced libc with core::ffi for type aliases.

v0.13.0

7 months ago

v0.11.0

2 years ago

Breaking changes

  • Moves dictionary-training operations behind a zdict_builder default feature. Using a dictionary does not need this feature; only training/creating a new one does.
  • Disable exporting unrelated constants in zstd-sys.

Updates

Can now compile for wasm32-unknown-unknown target.

v0.10.0

2 years ago

Breaking changes

  • Rename the 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.
    • 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.

0.9.1

2 years ago

This bumps the zstd version to 1.5.1.

It also brings some improvements to the rust wrapper:

  • Functions to turn on multithreaded compression are only available when the zstdmt feature is enabled
  • Implementations for arrays in zstd-safe use const-generics, and are now gated behind an arrays feature to allow compatibility with old compilers.
  • Add set_pledged_src_size to encoders. This can improve the compression ratio, and makes the content size available in the compressed header.
  • Add an auto-flush wrapper to the push decoder.

0.4.22

5 years ago
  • Update to zstd-1.3.8
  • Add read-based stream encoder and write-based stream decoder.

0.4.21

5 years ago

Update to zstd 1.3.7.

0.4.17

6 years ago
  • Update zstd to 1.3.3
  • Should be more easily detected by cmake (see #36)

0.4.15

6 years ago
  • Update zstd to 1.3.2