A crate for safe and ergonomic pin-projection.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by taiki-e about 5 years ago
Published by taiki-e about 5 years ago
proc-macro2
, syn
, and quote
to 1.0.Published by taiki-e about 5 years ago
proc-macro2
, syn
, and quote
to 1.0.Published by taiki-e about 5 years ago
Pin projection has become a safe operation.
#[unsafe_project]
has been replaced with #[pin_project]
.
The Unpin
argument has been removed - an Unpin
impl is now generated by default.
Drop impls must be specified with #[pinned_drop]
instead of via a normal Drop
impl.
Unpin
impls must be specified with an impl of UnsafeUnpin
, instead of implementing the normal Unpin
trait.
Made #[project]
attribute disabled by default.
See also tracking issue for 0.4 release.