I host a Rust project in git repository and I want to make it print the version on some command. How can I include the version into the program? I thought that the build script
https://github.com/baoyachi/shadow-rs
shadow-rs allows you to recall properties of the build process and environment at runtime, including:
Cargo.toml project versiondebug or releaseYou can use this tool to check in production exactly where a binary came from and how it was built.
shadow-rs might be used to provide build-time information at run-time.