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

async-compression

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

45 releases

new 0.4.18 Nov 23, 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

#9 in Compression

Download history 584462/week @ 2024-08-03 576687/week @ 2024-08-10 581684/week @ 2024-08-17 591196/week @ 2024-08-24 560713/week @ 2024-08-31 571902/week @ 2024-09-07 536700/week @ 2024-09-14 605117/week @ 2024-09-21 631119/week @ 2024-09-28 656573/week @ 2024-10-05 685951/week @ 2024-10-12 711627/week @ 2024-10-19 702401/week @ 2024-10-26 672363/week @ 2024-11-02 680112/week @ 2024-11-09 672218/week @ 2024-11-16

2,852,802 downloads per month
Used in 1,897 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–8MB
~101K SLoC