Would you be willing to also add the
itertools crate? It provides functionality similar to itertools in Python and really helps with some basic things. For example in Python you can split a string
s (for example the input string) as follows:
a, b, c, d = s.split()
itertools in Rust, you can write something similar.
let (a, b, c, d) = s.split_whitespace().next_tuple.unwrap();
(Although, I can think of other ways to code this example as well without the crate, so it is not the end of the world if it can't be added.)