Registry / utility / gzp
library2.0.2rscratesunverified

Parallel compression library for Rust, supporting multiple compression formats.

# Cargo.toml [dependencies] gzp = "2.0.2"
INSTALL
IMPORT
SIG · GZP
G
gzp
utilityrustv2.0.2
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.

GzpWriter
use gzp::GzpWriter;

Minimal example compressing data to a gzip file using GzpWriter.

use gzp::GzpWriter; use std::io::Write; fn main() { let mut writer = GzpWriter::new("output.gz").unwrap(); writer.write_all(b"Hello, world!").unwrap(); writer.finish().unwrap(); }
Debug
Known issues
gotchaRequires feature flags for specific compression formats (e.g., 'gzip', 'zlib').
fix
Add the desired format feature to your Cargo.toml, e.g., gzp = { version = "2", features = ["gzip"] }.
affects: >=2.0.0
Upgrade
Version history
2.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
gzp — cargo add gzp · libregistry