“The Rust compiler isn’t slow; we are”
(via).
TL;DR: try using cargo tree
, cargo-bloat,
and “dependencies” stats on lib.rs to replace dependencies with simpler ones;
e.g. maybe gumdrop is enough vs. clap for args parsing,
and nom vs. lalrpop for parser generator.