Announcing Rust 1.94.0 | Endigest
Rust
|BackendGet the latest tech trends every morning
Receive daily AI-curated summaries of engineering articles from top tech companies worldwide.
Rust 1.94.0 introduces array_windows, Cargo config inclusion, and TOML 1.1 support alongside several stabilized APIs.
- •array_windows adds a const-length slice iterator returning &[T; N] items, allowing pattern destructuring to infer window size at compile time
- •Cargo config files now support an include key to compose multiple .toml config files, with optional path support for environment-specific configs
- •Cargo now parses TOML 1.1, enabling multi-line inline tables, trailing commas, \xHH escape characters, and optional seconds in time values
- •New stabilized APIs include LazyCell/LazyLock getter and mut variants, Peekable::next_if_map, x86 AVX-512 FP16 and AArch64 NEON FP16 intrinsics
- •Math constants EULER_GAMMA and GOLDEN_RATIO added for f32/f64, and f32/f64::mul_add is now stable in const contexts
This summary was automatically generated by AI based on the original article and may not be fully accurate.