Rust’s leadership team announced progress on the 26 Rust project goals for 2024. Leadership representatives said the project emphasized work on asynchronous closures and finalizing its Rust development goals for early 2025.
Async closures, cited as a flagship goal for Rust, reached stability in December, said Rust proponents. The December project goals update was posted on January 23. Rust 1.85, due February 20 and now in beta, will include async closure support, said the post. The effort was intended to bring the asynchronous Rust experience closer to synchronous Rust. Essential capabilities include tasks such as stabilizing async closures to allow for a wider variety of async-related APIs and resolving the “Send”-bound problem, which blocks widespread usage of async functions in traits. Additionally, the stabilization of language features used by Rust for the Linux project is largely complete, but some work still needs to be done.
The leadership team also cited progress on return type notation, which has not yet reached the stable stage. Async functions in traits were not yet considered dyn
-compatible at the time of posting. Work is ongoing to prototype an implementation for async drop, although this work is considered experimental. Discussions for async iteration were described as fruitful but lacking widespread consensus. Further discussion is on the docket for the first half of this year.