Template Template

Build version helper

Expose a package version during a Rust build.

Purpose

Expose a package version during a Rust build.

Use the release source

Copy and adapt build-rs-version.rs to the target project. Fill the placeholders and preserve the applicable project rules. A template is a starting document, not evidence that its checks were executed.

Related reporting

Human Outcome Reporting explains verified results; /dr-explain explains them again without executing work.