Rust 1.100.0 ships with the never type finally stable after 10 years
The release also stabilizes the core allocator API and adds Cargo dependency-cooldown protections against supply-chain attacks.
What to know
- Rust 1.100.0 stabilizes the never type (!) after a decade and five failed attempts, and makes Infallible an alias for it, requiring a breaking change to never-type fallback in pre-2024 editions.
- Core parts of the allocator_api are stabilized, letting library authors define custom allocators usable with Vec and Box, laying groundwork for the Allocators 1.0 project goal.
- Cargo adds a minimum-publish-age (dependency cooldown) setting to blunt supply-chain attacks, plus unused-dependency warnings, drawing both praise and concern over delayed zero-day patches.
- Community debate centers on whether reusing `!` for the never type was the right syntax choice, and whether dependency cooldowns can be gamed by time-delayed malicious crates.
The dispute Whether Cargo's new minimum-publish-age dependency cooldowns meaningfully improve supply-chain security or merely delay both attacks and legitimate patches. · positions read across 37 posts and comments
This is a landmark release; the allocator API, never type, and Cargo supply-chain features are all welcome and overdue.
-
“At last! It's great seeing the generic allocator API finally stabilize. I foresee many arena allocators in my future.”
nrposner · Lobsters ↗
Reusing `!` for the never type was the wrong call, or at least debatable given the breaking change it required.
-
“Something that you can actually google, idk, something descriptive like say "never" ? Using a shorthand is generally something you do when it's so often used that the verbosity would be annoying, this doesn't seem like one of those cases.”
bookworm · Lobsters ↗
Dependency cooldowns are a useful idea but have real limitations and trade-offs for security.
-
“Dependency cooldowns receiving such a whiplash this year... Now, people are worried because you might miss 0 days if you use them. Nonetheless, the ability to set and configure it is a welcome feature.”
SOLAR_FIELDS · Hacker News ↗
Rust Team Maintainers of the Rust programming languagewaffle Rust contributorCargo team Maintainers of Rust's package manager
The record 8 articles and posts · last 11 days
What people are saying 24 voices from 4 sites · best of 37 · verbatim
- Why wasn't the major version bumped given the breaking change to never-type fallback, if semver is being followed?
- Why does `cargo install` ignore the minimum publish age for installed crates and their dependencies?
- Is the compiler itself any faster in this release?
- Nov 15
-
You would be able to access values naturally because the borrow checker knows the block runs at the end of the scope, rather than DropGuard which is hidden behind the Drop impl and needs anything accessible both to the guard and the rest of the scope to be stashed in the first field of the guard
- Nov 13
-
Not only internally. Using the exclamation point as the return type of diverging functions has been stable since version 1.0.
-
Well no, I'm just pointing out that Rust can in fact add new globals. `-> !` predates 1.0 (and thus `Infaillible`), so the syntax ship sailed quite a while ago.
-
This is by far my most long-awaited Rust release! The kind of “memory safety” I fight with most in Systems Programming isn’t use-after-free, but keeping things running under memory starvation. Having standard containers abort on allocation failure always seemed wrong to me, especially in an ecosystem that got so many other things right!Huge thanks…
-
That is all very nice, but hardly anyone is writing original software in Rust. Most people use c2rust to steal C projects that are than unsafe Rust and 30% slower than the originals.It is really the most uncreative and morally corrupt community in existence.
-
I've been thinking for a while about learning a programming language other than SQL and Python. I'm weighing three candidates: C, C++ (modern C++, with smart pointers and so on) or Rust, and I can't make up my mind. C is ideal because it would get me into the Linux world and make me 100% portable. But the threat Rust poses on the security front is…
-
> But any proper name would conflict with user-defined types. Like every other name which is in the prelude. Not that it’d have to be in the prelude.
-
Massive release! It's been an amazing ride being along for all 100 versions. I'm so grateful. I love warnings on unused deps.
-
Something that you can actually google, idk, something descriptive like say "never" ? Using a shorthand is generally something you do when it's so often used that the verbosity would be annoying, this doesn't seem like one of those cases.
-
> global-min-publish-age = "3 days"It's not a proper solution. A malicious crate can just contain a time-based switching mechanism in order to be undetected some time (let's say a couple of months) in order to become widespread.
- Nov 12
-
Can anyone who knows Rust well explain why its so good for AI?It seems like the AI can really write safe types and fast, efficient code in rust that beats anything else.I've moved basically all my projects over to it. And I don't really know how it compares to other fast languages. My personal langue preference was always for readable languages…
-
Dependency cooldowns receiving such a whiplash this year. Earlier everyone was advocating for them because of the supply chain attacks. Now, people are worried because you might miss 0 days if you use them.Nonetheless, the ability to set and configure it is a welcome feature.
-
Very happy about it. (Tiny nitpick: I still feel like the never type isn't used often enough to justify using `!` for it, but it's not a big deal.)
-
Happy « Rust supply-chain attacks are now much harder day » for those who celebrate: https:// blog.rust-lang.org/2026/11/12/ Rust-1.100.0/#cargo-min-publish-age-a-k-a-dependency-cooldowns # Rust # Rustlang
-
Yeah and arena allocators which already exist will be able to be dropped into places much more easily! Especially as more types other than vec and box start to accept the trait
-
H
Rust 1.100 L: https:// blog.rust-lang.org/2026/11/12/ Rust-1.100.0/ C: https:// news.ycombinator.com/item?id=5 0472038 posted on 2026.11.12 at 13:39:05 (c=16, p=17)
-
At last! It's great seeing the generic allocator API finally stabilize. I foresee many arena allocators in my future.
-
This release is so big that multiple useful stabilized API aren't event mentioned in the blog post like:- bool::toggle() https://doc.rust-lang.org/stable/std/primitive.bool.html#met...- Box::map() https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#m...- str::trim_prefix(), str::trim_suffix, Path::trim_prefix()
-
> Cargo now reports unused dependencies to users, e.g.> warning: unused dependency `tracing-subscriber` --> Cargo.toml:23:1 | 23 | tracing-subscriber.workspace = true | ^^^^^^^^^^^^^^^^^^ | = note: `cargo::unused_dependencies` is set to `warn` by default help: consider removing the dependency on `tracing-subscriber`Heck yes
-
Rust 1.100.0 released https:// lwn.net/Articles/1107187/ # LWN # Linux # Rust
-
R
Rust 1.100.0 has been released! 🦀💯🌈🎈 This bigger-than-usual Rust release adds the never type (`!`), the Allocator api, DropGuard, Box::map, Vec::from_fn, and more! Cargo now warns for unused dependencies, rebuilds less often, and adds the min-publish-age setting! https:// blog.rust-lang.org/2026/11/12/ Rust-1.100.0/
-
I'm really excited for the stabilization of the Cargo minimum dependency age feature! Can't wait to employ it. I started implementing it for my javascript projects a while back and it's been a great step forward for avoiding dependency compromises. Also, it's really interesting how by changing the Infallible type to be an alias for never, they had…
-
Woohoo, that's a release! My personal favorites:- Stabilize never type- Stabilize custom allocators- Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in Cargo.lock. (RFC 3923) docs #17335-…
-
H
Rust 1.100.0 L: https:// github.com/rust-lang/rust/rele ases/tag/1.100.0 C: https:// news.ycombinator.com/item?id=5 0471793 posted on 2026.11.12 at 13:24:06 (c=0, p=3)