Registry / utility / libz-sys

libz-sys

JSON →
library1.1.29rscratesunverified

Low-level FFI bindings to the system zlib compression library.

# Cargo.toml [dependencies] libz-sys = "1.1.29"
INSTALL
IMPORT
SIG · LIBZ-SYS
L
libz-sys
utilityrustv1.1.29
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

z_stream
use libz_sys::z_stream;

Shows basic usage of the z_stream struct from libz-sys.

use libz_sys::z_stream; fn main() { let stream = z_stream::default(); println!("z_stream initialized"); }
Debug
Known issues
gotchaRequires system zlib library to be installed; may fail on some platforms without it.
fix
Install zlib via your system package manager (e.g., apt install zlib1g-dev on Debian/Ubuntu).
affects: all
Upgrade
Version history
1.1.29latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libz-sys — cargo add libz-sys · libregistry