From 423431032adf5c3a458662665cc1a9c5cff2dede Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 29 Sep 2019 21:38:59 +0900 Subject: [PATCH] Release 0.4.2 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- README.md | 2 +- pin-project-internal/Cargo.toml | 4 ++-- pin-project-internal/src/lib.rs | 4 ++-- src/lib.rs | 10 +++++----- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bff9d23c..635047eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Unreleased +# 0.4.2 - 2019-09-29 + +* [Fixed support for DSTs(Dynamically Sized Types).][113] + +[113]: https://github.com/taiki-e/pin-project/pull/113 + # 0.4.1 - 2019-09-26 * [Fixed an issue that caused an error when using `#[pin_project]` on a type that has `#[pin]` + `!Unpin` field with no generics or lifetime.][111] diff --git a/Cargo.toml b/Cargo.toml index 0677afcb..ebff861e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pin-project" -version = "0.4.1" +version = "0.4.2" authors = ["Taiki Endo "] edition = "2018" license = "Apache-2.0/MIT" @@ -20,7 +20,7 @@ all-features = true members = ["pin-project-internal"] [dependencies] -pin-project-internal = { version = "=0.4.1", path = "pin-project-internal", default-features = false } +pin-project-internal = { version = "=0.4.2", path = "pin-project-internal", default-features = false } [dev-dependencies] compiletest = { version = "=0.3.22", package = "compiletest_rs", features = ["stable", "tmp"] } diff --git a/README.md b/README.md index b7c8ded4..40bdbd33 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ See [API documentation][docs-url] for more details. Also, there are examples and generated code of each feature in [examples](examples/README.md) directory. -[`pin_project`]: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.pin_project.html +[`pin_project`]: https://docs.rs/pin-project-internal/0.4.2/pin_project_internal/attr.pin_project.html ## License diff --git a/pin-project-internal/Cargo.toml b/pin-project-internal/Cargo.toml index 8b68bcde..63424855 100644 --- a/pin-project-internal/Cargo.toml +++ b/pin-project-internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pin-project-internal" -version = "0.4.1" +version = "0.4.2" authors = ["Taiki Endo "] edition = "2018" license = "Apache-2.0/MIT" @@ -24,4 +24,4 @@ quote = "1.0" syn = { version = "1.0", features = ["full", "visit-mut"] } [dev-dependencies] -pin-project = { version = "0.4.1", path = ".." } +pin-project = { version = "0.4.2", path = ".." } diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs index 3fd297f3..4f9c24e2 100644 --- a/pin-project-internal/src/lib.rs +++ b/pin-project-internal/src/lib.rs @@ -1,7 +1,7 @@ //! An internal crate to support pin_project - **do not use directly** #![recursion_limit = "256"] -#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.1")] +#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.2")] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code)) @@ -313,7 +313,7 @@ use utils::{Immutable, Mutable}; /// [`Pin::as_mut`]: core::pin::Pin::as_mut /// [`Pin::set`]: core::pin::Pin::set /// [`drop`]: Drop::drop -/// [`UnsafeUnpin`]: https://docs.rs/pin-project/0.4.1/pin_project/trait.UnsafeUnpin.html +/// [`UnsafeUnpin`]: https://docs.rs/pin-project/0.4.2/pin_project/trait.UnsafeUnpin.html /// [`project`]: ./attr.project.html /// [`project_ref`]: ./attr.project_ref.html /// [`pinned_drop`]: ./attr.pinned_drop.html diff --git a/src/lib.rs b/src/lib.rs index 4840902a..9b6d4710 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,13 +34,13 @@ //! //! There are examples and generated code of each feature in [examples](https://github.com/taiki-e/pin-project/blob/master/examples/README.md) directory. //! -//! [`pin_project`]: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.pin_project.html -//! [`pinned_drop`]: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.pinned_drop.html -//! [`project`]: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.project.html +//! [`pin_project`]: https://docs.rs/pin-project-internal/0.4.2/pin_project_internal/attr.pin_project.html +//! [`pinned_drop`]: https://docs.rs/pin-project-internal/0.4.2/pin_project_internal/attr.pinned_drop.html +//! [`project`]: https://docs.rs/pin-project-internal/0.4.2/pin_project_internal/attr.project.html #![no_std] #![recursion_limit = "256"] -#![doc(html_root_url = "https://docs.rs/pin-project/0.4.1")] +#![doc(html_root_url = "https://docs.rs/pin-project/0.4.2")] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code)) @@ -115,7 +115,7 @@ pub use pin_project_internal::project_ref; /// ``` /// /// [`PhantomPinned`]: core::marker::PhantomPinned -/// [`pin_project`]: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.pin_project.html +/// [`pin_project`]: https://docs.rs/pin-project-internal/0.4.2/pin_project_internal/attr.pin_project.html #[allow(unsafe_code)] pub unsafe trait UnsafeUnpin {}