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

Download history 4528/week @ 2026-03-03 25200/week @ 2026-03-10 24565/week @ 2026-03-17 33660/week @ 2026-03-24 32027/week @ 2026-03-31 29747/week @ 2026-04-07 26701/week @ 2026-04-14 26246/week @ 2026-04-21 29456/week @ 2026-04-28 27408/week @ 2026-05-05 31913/week @ 2026-05-12 32153/week @ 2026-05-19 31964/week @ 2026-05-26 26920/week @ 2026-06-02

127,053 downloads per month
Used in 127 crates (10 directly)

MIT/Apache

44KB
587 lines

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.

Dependencies

~5–8MB
~135K SLoC