> and didn't feel like adding an extra crate to my Cargo.toml
Why not? cargo makes it extremely easy to add new crates. The hardest part is figuring out what dependency you want, but once you know what it is, adding it is really easy.
Why not? cargo makes it extremely easy to add new crates. The hardest part is figuring out what dependency you want, but once you know what it is, adding it is really easy.
$ cargo search regex
regex = "1.1.0" # An implementation of regular expressions for Rust. This implementation uses finite automata and gua…
regex-automata = "0.1.5" # Automata construction and matching using regular expressions.
…