From e8de24c1835b667c96b317576dcc5fd64a92d5f0 Mon Sep 17 00:00:00 2001 From: Zack Maril Date: Tue, 25 Aug 2026 15:52:54 -0400 Subject: [PATCH] Contribute compile times to cratebank The build this job already runs, measured, plus the opt-in that lets this repository's crate names appear in the census rather than a count. They are already public here. It goes before the existing cargo steps and builds what they would have built, so the added cost is mostly the measuring rather than a second build. `strict` is on, because this is the build now: a measurement that quietly did not happen would mean nothing built the project either. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01361quprG7tUgaVFKAmKtJZ --- .github/workflows/ci.yml | 13 +++++++++++++ Cargo.toml | 7 +++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b630888..e86e8bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,19 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy + # Every CI run contributes this build to the public compile-time census + # at . It builds what the steps below would have + # built anyway, measured, so what is added here is mostly the measuring. + # + # `strict` because this is the build. A measurement that quietly did not + # happen would mean nothing built the project either, and a green check + # would be saying so about work that never ran. + - uses: PowderworksCode/cratebank/action@v0.1.1 + with: + args: --workspace + org-id: powderworks + strict: "true" + - run: cargo fmt --all -- --check - run: cargo clippy --all-targets -- -D warnings - run: cargo test --all diff --git a/Cargo.toml b/Cargo.toml index 471b1ef..50d11a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,10 @@ repository = "https://github.com/PowderworksCode/jedem" [workspace.dependencies] jedem = { path = "crates/jedem", version = "0.1.0" } jedem-macros = { path = "crates/jedem-macros", version = "0.1.0" } + +[workspace.metadata.cratebank] +# Opted in: this repository is public, so its crate names are already +# public. Without this the census records the build and withholds the +# names, which for an open repository is precision nobody asked for. +public = true +repository = "https://github.com/PowderworksCode/jedem"