#async-io #brotli #async #gzip #zstd #adaptor

async-compression

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

44 releases

0.4.17 Oct 20, 2024
0.4.12 Jul 21, 2024
0.4.6 Jan 17, 2024
0.4.5 Nov 15, 2023
0.1.0-alpha.1 May 14, 2019

#8 in Compression

Download history 592122/week @ 2024-07-31 583645/week @ 2024-08-07 570978/week @ 2024-08-14 581296/week @ 2024-08-21 541605/week @ 2024-08-28 614060/week @ 2024-09-04 557947/week @ 2024-09-11 558030/week @ 2024-09-18 613721/week @ 2024-09-25 647532/week @ 2024-10-02 657642/week @ 2024-10-09 708499/week @ 2024-10-16 720396/week @ 2024-10-23 674194/week @ 2024-10-30 662009/week @ 2024-11-06 696451/week @ 2024-11-13

2,895,785 downloads per month
Used in 1,894 crates (165 directly)

MIT/Apache

195KB
4.5K SLoC

async-compression

crates.io version build status downloads docs.rs docs MIT or Apache 2.0 licensed dependency status

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 tokio,gzip.

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.2–8.5MB
~101K SLoC