24 days of Rust – zip and lzma compression

The zip crate is the most commonly used
Rust library for manipulating ZIP archives. It supports reading and writing
.zip files with different compression methods (store, deflate, bzip2).
There are at least three crates for LZMA (de)compression on crates.i…

Similar

Rust Error Handling Patterns

Error handling in Rust is very different if you’re coming from other languages. In languages like Java, JS, Python etc, you usually throw exceptions and return successful values. In Rust, you return something called a Result. (more…)

Read more »