Crates.io | zstd-sys |
lib.rs | zstd-sys |
version | 2.0.16+zstd.1.5.7 |
created_at | 2017-03-24 19:18:12.206468+00 |
updated_at | 2025-09-04 14:13:34.313033+00 |
description | Low-level bindings for the zstd compression library. |
homepage | |
repository | https://github.com/gyscos/zstd-rs |
max_upload_size | |
id | 9141 |
size | 3,613,953 |
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.
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.
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