Adds Future and IntoFuture to the prelude.
Woo!
std::env::set_var, std::env::remove_var… are now unsafe functions.
That’s unfortunate. I understand why it’s unsafe, but it would be cool if they were atomic or something instead. I don’t really want to clutter code with unsafe for things that are technically safe in context (e.g. unit tests for config parsing).
async closures
Baller.
Other cool stuff as usual, so I’ll be updating soon. Congrats on the release!
The const hash map is huge. It was always a pain the have const/static hash maps. Specially since most use cases don’t need a DoS-resistant hash map. Will be migrating to 2024 as soon as possible.
For anyone like me who hasn’t seen an edition change before, it’s just a mechanism for bundling breaking changes together and making them opt-in.
We are excited to announce that the Rust 2024 Edition is now stable! Editions are a mechanism for opt-in changes that may otherwise pose a backwards compatibility risk.