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

async-compression

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

36 releases

0.4.9 Apr 26, 2024
0.4.6 Jan 17, 2024
0.4.5 Nov 15, 2023
0.4.1 Jul 10, 2023
0.1.0-alpha.1 May 14, 2019

#13 in Compression

Download history 349585/week @ 2024-01-15 384742/week @ 2024-01-22 392301/week @ 2024-01-29 389525/week @ 2024-02-05 392926/week @ 2024-02-12 381604/week @ 2024-02-19 434875/week @ 2024-02-26 430935/week @ 2024-03-04 436925/week @ 2024-03-11 448066/week @ 2024-03-18 438580/week @ 2024-03-25 515526/week @ 2024-04-01 467131/week @ 2024-04-08 463649/week @ 2024-04-15 467297/week @ 2024-04-22 427936/week @ 2024-04-29

1,858,292 downloads per month
Used in 1,550 crates (142 directly)

MIT/Apache

175KB
4K 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–3.5MB
~101K SLoC