# Anycat Anycat is an extremely simple crate and tool that lets you unpack some single file archive and print its content to the standard output (or process it as a regular `BufRead`). It supports quite a few decompression algorithms. Namely: - GZIP (.gz, .gzip) - BZIP2 (.bz2, .bzip) - LZMA (.xz, .lzma) - BROTLI (.br , .brotli) - ZLIB (.z , .zlib) - DEFLATE (.dfl) Its indended use is to simplify the cases where you want to chose between cat, gzcat, bzcat, ... to print a file. Whenever you want to do this, you might just as well call `anycat ` and you should get the right result. ## Tech note: This project is written in plain Rust, so you should be able to build it w/o any trouble by simply issuing the `cargo build --release` command. ## Changelog * v0.2.0: Updated the dependencies and reflected current best practices wrt error management. Now your code will not panic anymore but instead return an error you can process. ## Credits Even though I wrote `anycat`, the heavy lifting was done by the guys who wrote the many decompression crates for Rust and made them available on crates.io. If you are one of these guys, thank you !