Skip to content

Parsing practice problems in Rust

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 7 of 7

Title Difficulty
Conditional compilation with cfg and 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