You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop the Dependabot-side cooldown: { default-days: 7 } workaround for cargo and switch to native crate-version-age enforcement (-Zmin-publish-age / RFC 3923) once it lands on Rust stable.
Background
For supply-chain defense, every dep update must be ≥7 days old before being pulled into this project. As of 2026-07-19:
npm — handled natively by .npmrcmin-release-age=7 (npm help install).
\u0060cargo update\u0060 / \u0060cargo install\u0060 on dev machines — only available path today is the post-hoc cargo audit-style wrapper, OR opt-in nightly Cargo with -Zmin-publish-age.
Once native enforcement is on, Dependabot's cargo cooldown can be relaxed or removed (it's belt-and-suspenders against bot-driven bumps; native covers manual cargo update).
Acceptance criteria
rust-lang/cargo#17009 releases on stable Rust (~\u003e= 1.98)
Add registry.global-min-publish-age = "7 days"\u0060 to src-tauri/.cargo/config.toml(or repo-root.cargo/config.toml` if preferred)
Verify cargo build / cargo test against a deliberate pin override (CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow cargo update … --precise X) still works for urgent security bumps
Decide whether to keep or remove the cargo `cooldown\u0060 in dependabot.yml (recommendation: keep as defense-in-depth, then remove if it creates dup-alert noise)
Goal
Drop the Dependabot-side
cooldown: { default-days: 7 }workaround for cargo and switch to native crate-version-age enforcement (-Zmin-publish-age/ RFC 3923) once it lands on Rust stable.Background
For supply-chain defense, every dep update must be ≥7 days old before being pulled into this project. As of 2026-07-19:
.npmrcmin-release-age=7(npm help install).cooldown: { default-days: 7 }in.github/dependabot.yml(PR fix: enforce min-release-age=7 via 1st-party tooling (drop wrapper) #224).cargo audit-style wrapper, OR opt-in nightly Cargo with-Zmin-publish-age.Native option: RFC 3923 /
-Zmin-publish-agerust-lang/cargo#17012— merged 2026-06-18, milestone 1.98.0When this lands on stable Rust, the migration is:`
Once native enforcement is on, Dependabot's cargo
cooldowncan be relaxed or removed (it's belt-and-suspenders against bot-driven bumps; native covers manualcargo update).Acceptance criteria
rust-lang/cargo#17009releases on stable Rust (~\u003e= 1.98)registry.global-min-publish-age = "7 days"\u0060 tosrc-tauri/.cargo/config.toml(or repo-root.cargo/config.toml` if preferred)cargo build/cargo testagainst a deliberate pin override (CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow cargo update … --precise X) still works for urgent security bumpsRelated