ver-shim-build 0.2.1

Deprecated: renamed to ver-stub-build
Documentation

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