Small utility to detect compressed streams and automatically decompress them.
```rust use std::{io::BufReader, fs::File};
use audec::auto_decompress;
let input = File::open("maybecompressed")?; let mut input = autodecompress(BufReader::new(input)); let mut decompressed = String::new(); input.readtostring(&mut decompressed)?; ```
Each feature enables a decompression format
flate2 (default)zstd (default)bzip2lz4lz4_flexlz4 and lz4_flex are incompatible, at most one them can be enabled.
License: GPL-3.0-or-later