#compression #gzip #zstd #brotli #async

async-compression

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

17 releases

0.3.6 Nov 7, 2020
0.3.5 Jun 28, 2020
0.3.4 May 15, 2020
0.3.2 Mar 30, 2020
0.1.0-alpha.1 May 14, 2019

#12 in Compression

Download history 14160/week @ 2020-08-10 16081/week @ 2020-08-17 19353/week @ 2020-08-24 17911/week @ 2020-08-31 17683/week @ 2020-09-07 20817/week @ 2020-09-14 20113/week @ 2020-09-21 23186/week @ 2020-09-28 21214/week @ 2020-10-05 18893/week @ 2020-10-12 21311/week @ 2020-10-19 22287/week @ 2020-10-26 21107/week @ 2020-11-02 22715/week @ 2020-11-09 22528/week @ 2020-11-16 19030/week @ 2020-11-23

84,219 downloads per month
Used in 129 crates (18 directly)

MIT/Apache

210KB
5K 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
~57K SLoC