Rust 1.100 stabilizes the never type and adds a dependency cooldown to Cargo

Rust 1.100.0, announced on November 12, 2026, lets developers use the never type (!) to express more than a function that never returns. A signature such as Result<T, !> can now state that an operation cannot produce an error: there is no value of type ! to put in the error variant. The release, Rust’s first stable version with a three-digit minor number, also stabilizes the core custom allocator API.

What changes for existing Rust code

Rust has long allowed ! as the return type of a function that panics or loops forever. Making it available in other type positions took a decade and five unsuccessful stabilization attempts. In 1.100, std::convert::Infallible becomes an alias for !, so APIs that use Infallible can accept ! directly.

To make the alias work, Rust changed the fallback used when type inference cannot settle on a type for a never-returning expression. In the 2015, 2018 and 2021 editions, the fallback changes from the unit type () to !, matching the 2024 edition. The release notes describe this as a breaking change that most developers will not notice, though the compiler may flag more code as unreachable. The Rust team recommends updating dependencies first if an upgrade causes problems, since widely used crates have already shipped fixes.

Cargo’s cooldown and its limits

Cargo can now check how long a crate version has been available before selecting it during dependency resolution. The safeguard is optional. For example, this configuration makes versions less than three days old ineligible:

[registry]
global-min-publish-age = "3 days"

A waiting period can help projects avoid a newly published malicious crate, but it can also delay a legitimate security fix. In the Hacker News discussion, developer woodruffw argued that the resolver should apply the cooldown to routine updates while allowing immediate installation of patches tied to security advisories.

During beta testing, ImportStatic reported that cargo install ignored the setting and that a later update could downgrade a security fix installed by overriding the cooldown. The release notes also flag this behavior as a caveat. Cargo separately adds an opt-in warning for unused dependencies.

Custom allocators and smaller library changes

Library authors can now implement the stable Allocator trait to supply custom allocators for Vec and Box. This stabilizes the core of allocator_api, not the entire Allocators 1.0 project. Critics on the Rust Internals forum argued that the design still lacks the fine-grained allocation control available in Zig: it cannot support inline storage when moving a value would invalidate its internal pointers.

Other additions include core::mem::DropGuard, which runs a closure on each exit path, and std::mem::conjure_zst for handling zero-sized types in unsafe code. Smaller conveniences include bool::toggle, Box::map, str::trim_prefix, str::trim_suffix and Path::trim_prefix.

Developers using rustup can upgrade with rustup update stable. Rust 1.99 is no longer supported. On Rust’s six-week release schedule, version 1.101 was expected around December 24, 2026.