| Crates.io | ver-shim-build |
| lib.rs | ver-shim-build |
| version | 0.2.1 |
| created_at | 2025-12-11 00:12:43.060234+00 |
| updated_at | 2025-12-12 23:20:31.608253+00 |
| description | Deprecated: renamed to ver-stub-build |
| homepage | |
| repository | https://github.com/cbeck88/ver-shim-rs |
| max_upload_size | |
| id | 1978950 |
| size | 48,465 |
Build script helper for ver-shim.
This crate generates link section content matching what ver-shim expects at runtime.
It collects git information (SHA, branch, commit timestamp, etc.) and build timestamps,
then writes the data to a file or patches it directly into a binary.
// build.rs
fn main() {
ver_shim_build::LinkSection::new()
.with_all_git()
.with_build_timestamp()
.write_to_out_dir();
}
ver-shim - Runtime library for reading version dataver-shim-tool - CLI tool (if you don't need build.rs integration)