We learned the basic concepts of nom yesterday when we wrote a parser for HTTP headers. HTTP is by its nature a text protocol. nom however always works on bytes (byte array slices, denoted in Rust with &[u8]). This makes it perfectly suitable for pars...Read more »
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…