News › linux

Rust 1.100 adds Cargo dependency cooldowns and changes build-cache layout

By The Linux Camp News, November 27, 2026

Configured cooldowns exclude recently published dependency versions, with an exception for existing lockfile entries. Tools that inspect Cargo’s build directories also need attention.

Rust 1.100.0 was released on November 12, 2026. Among its Cargo changes are configurable dependency cooldowns and a new layout for intermediate build artifacts. These affect dependency resolution and build-tool integration, rather than requiring developers to treat the version number alone as a compatibility verdict. 1 2

A dependency cooldown is a minimum publication age applied by the resolver when the relevant configuration is set. Versions published more recently than that threshold are ignored, unless they are already recorded in Cargo.lock. This creates a waiting period for newly resolved versions; it does not replace an existing locked version or establish that an older dependency is safe. 2

Cargo also applies its build-configuration hash consistently to build-directory content. It groups directories by build step and moves the hash from file names to their parent directories. The release explains that inconsistent hashing could produce extra or missed rebuilds and confusion between configurations, especially when sharing a build directory across worktrees. 1

Check tooling that locates intermediate artifacts by walking the old directory layout. The release notes recommend Cargo’s JSON messages for locating build artifacts instead. The layout is explicitly not a stable interface, so hard-coded paths can break even when the project itself still compiles. 2

The compatibility notes also warn that generalizing some Box implementations to arbitrary allocators may introduce type-inference errors. A successful dependency resolution therefore does not prove an existing project builds unchanged on 1.100.0. No project builds were performed for this report. 2

Sources

Courses