Cargo.toml
at compile timeThis Rust crate provides a macro to parse Cargo.toml
.
This can be useful to implement a --version
flag that does not need to be updated manually each time a new version is released.
Using clap might be a little bit of an overload in some cases.