From f86ea1b7d7b8ad69cf6617ea7007e5ecc6eddfad Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 4 May 2020 21:09:56 +0900 Subject: [PATCH] Release 0.4.10 --- CHANGELOG.md | 8 ++++++++ Cargo.toml | 4 ++-- pin-project-internal/Cargo.toml | 4 ++-- pin-project-internal/src/lib.rs | 2 +- src/lib.rs | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 195948ac..526996b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](https://semver.org). ## [Unreleased] +## [0.4.10] - 2020-05-04 + +* [Added `project_replace` method and `#[project_replace]` attribute.][194] + `project_replace` method is optional and can be enabled by passing the `Replace` argument to `#[pin_project]` attribute. + See [the documentation](https://docs.rs/pin-project/0.4/pin_project/attr.pin_project.html#project_replace) for more details. + +[194]: https://github.com/taiki-e/pin-project/pull/194 + ## [0.4.9] - 2020-04-14 * [Fixed lifetime inference error when associated types are used in fields.][188] diff --git a/Cargo.toml b/Cargo.toml index 077709a4..a05d7700 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pin-project" -version = "0.4.9" +version = "0.4.10" authors = ["Taiki Endo "] edition = "2018" license = "Apache-2.0 OR MIT" @@ -27,7 +27,7 @@ members = [ ] [dependencies] -pin-project-internal = { version = "=0.4.9", path = "pin-project-internal", default-features = false } +pin-project-internal = { version = "=0.4.10", path = "pin-project-internal", default-features = false } [dev-dependencies] auxiliary-macros = { version = "0.1", path = "tests/ui/auxiliary" } diff --git a/pin-project-internal/Cargo.toml b/pin-project-internal/Cargo.toml index 7c6a1066..ee7f3cc1 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.9" +version = "0.4.10" authors = ["Taiki Endo "] edition = "2018" license = "Apache-2.0 OR MIT" @@ -25,5 +25,5 @@ quote = "1.0" syn = { version = "1.0", features = ["full", "visit-mut"] } [dev-dependencies] -pin-project = { version = "0.4.9", path = ".." } +pin-project = { version = "0.4.10", path = ".." } rustversion = "1.0" diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs index 17b2bc0c..32a10c3a 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.9")] +#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.10")] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code)) diff --git a/src/lib.rs b/src/lib.rs index 285e1df9..953bd0bb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,7 +34,7 @@ #![no_std] #![recursion_limit = "256"] -#![doc(html_root_url = "https://docs.rs/pin-project/0.4.9")] +#![doc(html_root_url = "https://docs.rs/pin-project/0.4.10")] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code))