289 releases (25 breaking)
Uses new Rust 2024
| 0.33.0 | May 29, 2026 |
|---|---|
| 0.32.2 | May 20, 2026 |
| 0.31.1 | Mar 31, 2026 |
| 0.28.1 | Dec 19, 2025 |
| 0.8.0 | Jul 27, 2023 |
#22 in #git-branch
127,053 downloads per month
Used in 127 crates
(10 directly)
44KB
587 lines
re_build_tools
Part of the rerun family of crates.
Library to be used in build.rs files in order to build the build info defined in re_build_info by setting environment variables.
Some information in re_build_info can be provided through env vars:
GIT_HASH(the full sha, likee264b9decab9257ae79100a006bb69c0d289e20c)GIT_BRANCH(thesymbolic-ref --short, likeasdf/my-branch)DATETIME(ISO8601, like2025-12-10T15:49:52.089915278Z)
If these are required but not provided, they will be gathered by:
GIT_HASH: runninggit rev-parse HEADGIT_BRANCH: runninggit symbolic-ref --short HEADDATETIMEretrieving system time during the build
If you'd like to avoid these for whatever reason, then set them externally.
Dependencies
~5–8MB
~135K SLoC