Announcing Rust 1.96.0 !new! Jun 2026

Several key functions are now const fn , including:

, you can update to 1.96.0 with: bash rustup update stable Use code with caution. Copied to clipboard What's in 1.96.0 stable Rust 1.96.0 is scheduled to bring further refinements to the Rust 2024 edition (released in early 2025) and continued performance improvements to the compiler. Stable Release Date: May 28, 2026. Beta Branching: The 1.96.0 features will branch from master into beta on April 10, 2026. Key Focus: While specific stabilized APIs for this version are still being finalized in the nightly channel, recent releases have focused on expanding announcing rust 1.96.0

: The methods Result::map_or_default and Option::map_or_default are now stable, providing a cleaner way to handle defaults during transformations. Several key functions are now const fn ,

Would you like to know more?