24 days of Rust – nom, part 2

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…

Similar