Registry / other / cloudflare-zlib-sys

cloudflare-zlib-sys

JSON →
library0.3.7rscratesunverified

FFI bindings to Cloudflare's fork of zlib with performance improvements.

# Cargo.toml [dependencies] cloudflare-zlib-sys = "0.3.7"
INSTALL
IMPORT
SIG · CLOUDFLARE-ZLIB-SY
C
cloudflare-zlib-sys
otherrustv0.3.7
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 cloudflare_zlib_sys::z_stream;

Initializes a z_stream struct for compression.

use cloudflare_zlib_sys::z_stream; fn main() { let stream = z_stream::default(); println!("z_stream initialized"); }
Debug
Known issues
gotchaRequires linking against the Cloudflare zlib library; may not be compatible with system zlib.
fix
Ensure the Cloudflare zlib is installed and linked correctly via build script.
affects: >=0.1.0
Upgrade
Version history
0.3.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cloudflare-zlib-sys — cargo add cloudflare-zlib-sys · libregistry