Rust 1.94.0 has been released with several notable additions. The `array_windows` method is now stable for slices, providing a const-length windowing iterator that returns `&[T; N]` references instead of dynamically-sized slices, enabling better type inference and optimization. Cargo gains support for the `include` key in config files, allowing modular configuration management with optional includes. Cargo also now parses TOML v1.1, supporting multi-line inline tables, trailing commas, new string escape characters, and optional seconds in times. Additional stabilized APIs include `LazyCell`/`LazyLock` mutation methods, `Peekable::next_if_map`, x86 and AArch64 NEON fp16 intrinsics, and new float constants for Euler's gamma and the golden ratio.
Sort: