40 stable releases
2.0.10+zstd.1.5.6 | Mar 27, 2024 |
---|---|
2.0.9+zstd.1.5.5 | Oct 11, 2023 |
2.0.8+zstd.1.5.5 | Apr 5, 2023 |
2.0.7+zstd.1.5.4 | Feb 10, 2023 |
1.1.5-a | Mar 24, 2017 |
#244 in Compression
3,022,680 downloads per month
Used in 2,583 crates
(21 directly)
2.5MB
45K
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.