detect-compression

crate-name at crates.io crate-name at docs.rs

BufRead and Write detects compression algorithms from file extension.