Rust 1.100 Released With The "Never" Type Finally Stable

Rust 1.100 is out today as the newest version of this popular programming language. With Rust 1.100 the "never" type as ! is finally considered stable. It took ten years and five past failed stabilization attempts, but Rust's never type is now considered stable. The Rust never type "!" is used for representing diverging computations that never resolve to any value. Any code that follows the never type is unreachable. Rust 1.100 also stabilizes core parts of Rust's Allocator API. Rust 1.100 also allows reporting of unused dependencies in Cargo. Plus work to reduce Cargo cache collisions. A new Cargo feature is the "min-publish-age" as a dependency cooldown period. With malicious packages often being caught within hours or a short time after being published, setting the global-min-publish-age can now be used to avoid for example avoiding crates published in the last 3 or 5 days. Rust 1.100 also brings various other stabilized APIs and improvements as noted in the Rust-Lang.org blog.

Original Source

Read the full article at Phoronix →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.