ver-shim-build

Crates.iover-shim-build
lib.rsver-shim-build
version0.2.1
created_at2025-12-11 00:12:43.060234+00
updated_at2025-12-12 23:20:31.608253+00
descriptionDeprecated: renamed to ver-stub-build
homepage
repositoryhttps://github.com/cbeck88/ver-shim-rs
max_upload_size
id1978950
size48,465
Chris Beck (cbeck88)

documentation

README

ver-shim-build

Build script helper for ver-shim.

Crates.io Crates.io License License

API Docs

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.

Example

// build.rs
fn main() {
    ver_shim_build::LinkSection::new()
        .with_all_git()
        .with_build_timestamp()
        .write_to_out_dir();
}

See Also

Commit count: 0

cargo fmt