Skip to content

Commit

Permalink
Release 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 29, 2019
1 parent d6c097d commit 4234310
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pin-project"
version = "0.4.1"
version = "0.4.2"
authors = ["Taiki Endo <[email protected]>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -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"] }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions pin-project-internal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pin-project-internal"
version = "0.4.1"
version = "0.4.2"
authors = ["Taiki Endo <[email protected]>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -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 = ".." }
4 changes: 2 additions & 2 deletions pin-project-internal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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))
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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 {}

Expand Down

0 comments on commit 4234310

Please sign in to comment.