0.4.0
-
Pin projection has become a safe operation. In the absence of other unsafe code that you write, it is impossible to cause undefined behavior.
-
#[unsafe_project]
attribute has been replaced with#[pin_project]
attribute. (#18, #33) -
The
Unpin
argument has been removed - anUnpin
impl is now generated by default. -
Drop impls must be specified with
#[pinned_drop]
instead of via a normalDrop
impl. (#18, #33, #86) -
#[pin_project]
can now be used for public type with private field types. -
Removed "project_attr" feature and always enable
#[project]
attribute.
Changes since the 0.4.0-beta.1 release: