#compression #gzip #zstd #brotli #async

async-compression

Adaptors between compression crates and Rust’s modern asynchronous IO types

16 releases

✓ Uses Rust 2018 edition

0.3.5 Jun 28, 2020
0.3.2 Mar 30, 2020
0.2.0 Dec 9, 2019
0.1.0 Nov 6, 2019
0.1.0-alpha.1 May 14, 2019

#14 in Compression

Download history 10629/week @ 2020-03-16 11232/week @ 2020-03-23 11241/week @ 2020-03-30 8176/week @ 2020-04-06 6847/week @ 2020-04-13 7765/week @ 2020-04-20 8306/week @ 2020-04-27 10183/week @ 2020-05-04 11052/week @ 2020-05-11 10852/week @ 2020-05-18 10328/week @ 2020-05-25 14900/week @ 2020-06-01 13412/week @ 2020-06-08 12054/week @ 2020-06-15 12815/week @ 2020-06-22 13622/week @ 2020-06-29

45,081 downloads per month
Used in 82 crates (12 directly)

MIT/Apache

170KB
4K SLoC

async-compression

crates.io version build status downloads docs.rs docs

This crate provides adaptors between compression crates and Rust's modern asynchronous IO types.

Development

When developing you will need to enable appropriate features for the different test cases to run, the simplest is cargo test --all-features, but you can enable different subsets of features as appropriate for the code you are testing to avoid compiling all dependencies, e.g. cargo test --features gzip,stream.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.1–2.5MB
~58K SLoC