NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #219 most downloaded on crates.io
Implementation detail of the `pin-project` crate.
Latest stable
1.1.13
Last release 6 months ago
13 May 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 58 of 58 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
71 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
[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]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[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.
One column per quarter.