Skip to content

Parsing practice problems in Rust

Difficulty:
Category:
Tag:

Showing 7 of 7

Status Title Difficulty
#[cfg], cfg!, cfg_attr and the new cfg_select! Medium
flat_map: expand a range spec like "1-3,7,10-12" Medium
map, filter, filter_map: parse host:port lines Easy
peekable and next_if: write a tokeniser Hard
Version requirements: caret, tilde, wildcard, pre-releases Medium
Zero-copy parsing: borrow, don't allocate Medium
Zero-copy tokenizer: `Parser<'a>` Hard