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

async-compression

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

35 releases

0.4.8 Apr 5, 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

#11 in Compression

Download history 151482/week @ 2023-12-23 252013/week @ 2023-12-30 336030/week @ 2024-01-06 346174/week @ 2024-01-13 382969/week @ 2024-01-20 386593/week @ 2024-01-27 391958/week @ 2024-02-03 394668/week @ 2024-02-10 379193/week @ 2024-02-17 430985/week @ 2024-02-24 433036/week @ 2024-03-02 430100/week @ 2024-03-09 451866/week @ 2024-03-16 443686/week @ 2024-03-23 488502/week @ 2024-03-30 417903/week @ 2024-04-06

1,875,281 downloads per month
Used in 1,511 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
~102K SLoC