Rust 1.100(blog.rust-lang.org)
894 points by mbStavola 17 days ago | 320 comments
tl;dr: Rust 1.100 stabilizes the long-awaited never type (`!`) after 10 years and 5 failed attempts, along with the core Allocator API (usable with `Vec` and `Box`), a new `DropGuard` helper for running closures on scope exit, and `conjure_zst` for safely creating zero-sized types. Cargo gains unused dependency warnings, a reorganized build directory to reduce cache collisions, and `min-publish-age` (dependency cooldowns) to mitigate supply chain attacks by delaying adoption of freshly published versions.
HN Discussion:
  • ↑Enthusiastic celebration of the release's major features like never type and custom allocators
  • ↑Appreciation for specific Cargo improvements like unused dependency warnings and lockfile handling
  • ~The release highlights are incomplete, missing several useful stabilized APIs worth mentioning
  • ↓Concerns about ongoing Rust pain points like compile times, disk usage, and lack of stable ABI
  • •Questioning the min-publish-age exemption for cargo install as undermining the feature