diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..e6e617dd --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,13 @@ +# Cooldown for crates.io dependencies (RFC 3923, `min-publish-age`). +# Versions published less than 14 days ago are not selected by the resolver +# unless they are already in `Cargo.lock`. Matches the Dependabot cooldown. +# Urgent override for a single resolve: +# CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow cargo update -p + +# Stable cargo ignores this table. Nightly cargo needs it until the feature +# is stable (Rust 1.100, 2026-11-12); remove it once the toolchain has it. +[unstable] +min-publish-age = true + +[registry] +global-min-publish-age = "14 days"