| Crates.io | re_build_tools |
| lib.rs | re_build_tools |
| version | 0.29.0-alpha.7 |
| created_at | 2023-07-05 12:52:08.718985+00 |
| updated_at | 2026-01-23 15:23:24.48705+00 |
| description | build.rs helpers for generating build info |
| homepage | https://rerun.io |
| repository | https://github.com/rerun-io/rerun |
| max_upload_size | |
| id | 908993 |
| size | 58,031 |
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, like e264b9decab9257ae79100a006bb69c0d289e20c)GIT_BRANCH (the symbolic-ref --short, like asdf/my-branch)DATETIME (ISO8601, like 2025-12-10T15:49:52.089915278Z)If these are required but not provided, they will be gathered by:
GIT_HASH: running git rev-parse HEADGIT_BRANCH: running git symbolic-ref --short HEADDATETIME retrieving system time during the buildIf you'd like to avoid these for whatever reason, then set them externally.