NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #220 most downloaded on crates.io
A crate for safe and ergonomic pin-projection.
Latest stable
1.2.0
Last release today
19 Nov 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 44 of 44 stable releases
33 versions withdrawn
withdrawn after publishing
8 years old
90 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
[Changed the argument type of project method back to self: Pin<&mut Self>.][90]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[Changed #[pinned_drop] to trait implementation.][86]
Changed #[pinned_drop] to trait implementation.
#[pinned_drop]
impl<T> PinnedDrop for Foo<'_, T> {
fn drop(mut self: Pin<&mut Self>) {
**self.project().was_dropped = true;
}
}
Added some examples and generated code.
Improve error messages.
Change #[pinned_drop] to trait implementation.
#[pinned_drop]
impl<T> PinnedDrop for Foo<'_, T> {
fn drop(mut self: Pin<&mut Self>) {
**self.project().was_dropped = true;
}
}
Add some examples and generated code.
Diagnostic improvements.
[pin-project can now interoperate with #[cfg()].][77]
[Added 'project_into' method to #[pin_project] types][69]. This can be useful when returning a pin projection from a method. `rust fn get_pin_mut(self
Added 'project_into' method to #[pin_project] types. This can be useful when returning a pin projection from a method.
fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> {
self.project_into().pinned
}
Prevented UnpinStruct from appearing in the document by default. See taiki-e/pin-project#71 for more details.
Add project_into method to #[pin_project] types. This can be useful when returning a pin projection from a method.
fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> {
self.project_into().pinned
}
Prevent UnpinStruct from appearing in the document by default. See #71 for more details.
[Improved document of generated code.][62]. Also added an option to control the document of generated code. See [taiki-e/pin-project#62][62] for more
Improved document of generated code.. Also added an option to control the document of generated code. See taiki-e/pin-project#62 for more details.
Improve document of generated code.. Also added an option to control the document of generated code. See #62 for more details.
[Applied #[allow(dead_code)] to generated types.][57]
[Allowed using #[pin_project] type with private field types][53]
[#[project] attribute now supports match expressions at the position of the initializer expression of let expressions.][51]
Avoided clippy::drop_bounds lint in generated code.
[Changed project method generated by #[pin_project] attribute to take an &mut Pin<&mut Self> argument.][47]
Updated proc-macro2, syn, and quote to 1.0.
proc-macro2, syn, and quote to 1.0.Pin projection has become a safe operation.
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.
Updated proc-macro2, syn, and quote to 1.0.
proc-macro2, syn, and quote to 1.0.- Diagnostic improvements.
Note: This release has been yanked. See #16 for details.
Note: This release has been yanked. See #16 for details.
- Avoid suffixes on tuple index.
Update minimum syn version to 0.15.22.
Documentation improvements.
Update minimum syn version to 0.15.22.
Remove unsafe_fields attribute.
Remove unsafe_fields attribute.
Remove unsafe_variants attribute.
Fix a bug that generates incorrect code for the some structures with trait bounds on type generics.
Fix a bug that generates incorrect code for the structures with where clause and associated type fields.
- Make unsafe_fields optional. - Documentation improvements.
Make unsafe_fields optional.
Documentation improvements.
Add the feature to create projected enums to unsafe_project.
Add the feature to create projected enums to unsafe_project.
Add project attribute to support pattern matching.
- Fix documentation.
Add unsafe_variants attribute. This attribute is available if pin-project is built with the "unsafe_variants" feature.
unsafe_fields can now opt-out.
Add unsafe_variants attribute. This attribute is available if pin-project is built with the "unsafe_variants" feature.
Add support for tuple struct to unsafe_project.
unsafe_project.Add options for automatically implementing Unpin to both unsafe_project and unsafe_fields.
Unpin to both unsafe_project and unsafe_fields.- Fix dependencies. - Add unsafe_fields attribute.
Fix dependencies.
Add unsafe_fields attribute.
- Documentation improvements.
Rename from unsafe_pin_project to unsafe_project.
unsafe_pin_project to unsafe_project.Note: This release has been yanked.
Note: This release has been yanked.
Initial release
One column per quarter.