re_build_tools

Crates.iore_build_tools
lib.rsre_build_tools
version0.29.0-alpha.7
created_at2023-07-05 12:52:08.718985+00
updated_at2026-01-23 15:23:24.48705+00
descriptionbuild.rs helpers for generating build info
homepagehttps://rerun.io
repositoryhttps://github.com/rerun-io/rerun
max_upload_size
id908993
size58,031
rerun.io (rerunio)

documentation

README

re_build_tools

Part of the rerun family of crates.

Latest version Documentation MIT Apache

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 HEAD
  • GIT_BRANCH: running git symbolic-ref --short HEAD
  • DATETIME retrieving system time during the build

If you'd like to avoid these for whatever reason, then set them externally.

Commit count: 4053

cargo fmt