zstd-sys

Crates.iozstd-sys
lib.rszstd-sys
version2.0.13+zstd.1.5.6
sourcesrc
created_at2017-03-24 19:18:12.206468
updated_at2024-08-02 16:20:32.556542
descriptionLow-level bindings for the zstd compression library.
homepage
repositoryhttps://github.com/gyscos/zstd-rs
max_upload_size
id9141
size3,502,699
Alexandre Bury (gyscos)

documentation

README

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
Commit count: 514

cargo fmt