24 stable releases
Uses old Rust 2015
1.4.19+zstd.1.4.8 | Dec 20, 2020 |
---|---|
1.4.17+zstd.1.4.5 | Jun 14, 2020 |
1.4.15+zstd.1.4.4 | Nov 5, 2019 |
1.4.12+zstd.1.4.2 | Jul 25, 2019 |
1.1.5-a | Mar 24, 2017 |
#77 in Compression
118,433 downloads per month
Used in 183 crates
(4 directly)
4.5MB
92K
SLoC
zstd-sys
This is the low-level auto-generated binding to the zstd library. You probably don't want to use this library directly; instead, look at zstd-rs or zstd-safe.
Compile it yourself
zstd
is included as a submodule. To get everything during your clone, use:
git clone https://github.com/gyscos/zstd-rs --recursive
Or, if you cloned it without the --recursive
flag,
call this from inside the repository:
git submodule update --init
Then, running cargo build
in this directory should
take care of building the C library and linking to it.
Build-time bindgen
This library includes a pre-generated bindings.rs
file.
You can also generate new bindings at build-time, using the bindgen
feature:
cargo build --features bindgen
lib.rs
:
Low-level bindings to the zstd library.