Instead of injecting build info like git revisions or timestamps into the source code, which causes unnecessary rebuilds, you can inject it into a custom linker section. ver-stub provides a safe interface to read the linker section from within your program, and provides tools to write it, either from build.rs or with a cli tool.
2 Likes
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.