Rust 1.96.0: new range types, stabilized macros, and cargo vulnerability fixes

Rust 1.96.0: new range types, stabilized macros, and cargo vulnerability fixes

Rust 1.96.0 brings new Copy-compatible core::range types, making it possible to use ranges in Copy structs and exposing public fields in RangeInclusive.

The release also stabilizes assert_matches! and debug_assert_matches! macros, which enhance pattern-matching diagnostics, though they require manual import.

WebAssembly targets now treat undefined linker symbols as errors by default. Two Cargo vulnerabilities affecting third-party registries are also addressed.

by Fla

Rust iconRust
  157
  • ...

Rust is a multi-paradigm, general-purpose programming language that emphasizes performance, type safety, and concurrency. It enforces memory safety—meaning that all references point to valid memory—without a garbage...

No comments so far, maybe you want to be first?
Gu