appinfo-rs
Macro to derive appinfo at compile time using cargo compile-time env vars and clap-rs.
Usage
then in a terminal do:
All the info are retrieved at compile time.
Dependency:
- clap-rs: (https://docs.rs/clap/latest/clap/)
Install clap:
Future Enhacements
- Validation logic that the macro is applied only in
main. - Override of vars through the macro args.