Hacker News new | ask | show | jobs
by throwawayqqq11 17 days ago
Rust editions exist for handling breaking changes. I dont get why so many people treat them as unthinkable/impossible.
1 comments

Editions don't version the std lib, so breaking changes to library types aren't generally allowed.
While true, deprecating modules is still possible, if barely, as can be seen by RFC 3550 deprecating legacy ranges in I believe Edition 2027[1]

[1]: https://rust-lang.github.io/rfcs/3550-new-range.html

I'd hope eventually they'll move and we don't end up with the JS situation [1]

[1]: https://news.ycombinator.com/item?id=45447467