logoalt Hacker News

nixpulvis11/04/20252 repliesview on HN

I think it's clear to me that Rust needs to start admitting more into the STD to help with this and increase the consistency across the ecosystem.


Replies

Ygg211/04/2025

This has happened already. See https://doc.rust-lang.org/std/cell/struct.LazyCell.html

It's just it's not frequent.

There is very few things that need to be in the standard library. I only ever miss chrono or equivalent not being in std.

show 2 replies
vacuity11/04/2025

No, I think the idea of blessing a set of crates (with versions!) is better. The stdlib has a high burden of maintenance, and ideally should only be added to if changes are always backwards compatible. A blessed set is more flexible but still provides a high degree of reliability, unlike the present situation.

show 1 reply