rust-lang / flate2-rs

DEFLATE, gzip, and zlib bindings for Rust
https://docs.rs/flate2
Apache License 2.0
900 stars 162 forks source link

[Enhancement] Add support for zstd #298

Closed kallisti5 closed 2 years ago

kallisti5 commented 2 years ago

zstd is becoming a popular standard for compression, any plans to add it?

https://facebook.github.io/zstd/

joshtriplett commented 2 years ago

@kallisti5 flate2 is specifically a crate for the DEFLATE/zlib/gzip format. I don't think it makes sense to add zstd support to it. There are already multiple crates for zstd, including https://crates.io/crates/zstd and https://github.com/Nemo157/async-compression/ .

kallisti5 commented 2 years ago

That's fair @joshtriplett Thanks for clarifying!