Rust 1.95.0
5 hours ago
- #Programming
- #Release
- #Rust
- Rust 1.95.0 has been released, introducing new features and improvements.
- The new cfg_select! macro provides compile-time configuration selection similar to the cfg-if crate.
- If-let guards are now allowed in match expressions, enabling conditionals based on pattern matching.
- Multiple APIs have been stabilized, including MaybeUninit, Cell, Atomic types, and core::range.
- Support for JSON target specs on stable has been removed, requiring nightly for custom targets.
- Future releases can be tested by switching to beta or nightly channels using rustup.