A Rust library for option parsing for CLI utilities.
Documentation
Add this to your Cargo.toml:
Cargo.toml
[dependencies] getopts = "0.2"
The getopts library is used by rustc, so we have to be careful about not changing its behavior.
getopts
rustc