In exciting async news: the stabilization of `std::pin::pin!` has been accepted, and will be coming to stable on #Rust on 1.68.0!
This will enable "stack pinning" entirely from safe Rust, replacing many of the uses for `Box::pin`, the unsafe `Pin::new_unchecked`, and external crates such as `pin-utils`!
github.com/rust-lang/rust/pull…
Stabilize `::{core,std}::pin::pin!` by danielhenrymantilla · Pull Request #103800 · rust-lang/rust
As discussed over here, it looks like a decent time to stabilize the pin! macro. Public API // in module `core::pin` /// API: `fn pin($value: T) -> Pin<&'local mut T>` pub macro pin($value:expr...GitHub