Skip to content

Commit 5a1eb3e

Browse files
bors[bot]taiki-e
andauthored
Merge #278
278: Release 1.0.0-alpha.1 r=taiki-e a=taiki-e [Changes](https://github.com/taiki-e/pin-project/blob/a1da018ce82073aec4d76bfdfa554c297bd77bd3/CHANGELOG.md#100-alpha1---2020-09-22) cc #264 Co-authored-by: Taiki Endo <te316e89@gmail.com>
2 parents aebe2dd + a1da018 commit 5a1eb3e

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

CHANGELOG.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org).
66

77
## [Unreleased]
88

9+
## [1.0.0-alpha.1] - 2020-09-22
10+
911
* [Remove deprecated `#[project]`, `#[project_ref]`, and `#[project_replace]` attributes.](https://github.com/taiki-e/pin-project/pull/265)
1012

1113
Name the projected type by passing an argument with the same name as the method to the `#[pin_project]` attribute instead:
@@ -31,10 +33,12 @@ This project adheres to [Semantic Versioning](https://semver.org).
3133

3234
* [Optimize code generation when used on enums.](https://github.com/taiki-e/pin-project/pull/270)
3335

34-
* Suppress `explicit_outlives_requirements`, `box_pointers`, `clippy::large_enum_variant`, `clippy::pattern_type_mismatch`, and `clippy::implicit_return` lints in generated code.([#276](https://github.com/taiki-e/pin-project/pull/276), [#277](https://github.com/taiki-e/pin-project/pull/277))
36+
* Suppress `explicit_outlives_requirements`, `box_pointers`, `clippy::large_enum_variant`, `clippy::pattern_type_mismatch`, and `clippy::implicit_return` lints in generated code. ([#276](https://github.com/taiki-e/pin-project/pull/276), [#277](https://github.com/taiki-e/pin-project/pull/277))
3537

3638
* Diagnostic improvements.
3739

40+
See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project/issues/264).
41+
3842
## [0.4.23] - 2020-07-27
3943

4044
* [Fix compile error with `?Sized` type parameters.][263]
@@ -573,7 +577,8 @@ See also [tracking issue for 0.4 release][21].
573577

574578
Initial release
575579

576-
[Unreleased]: https://github.com/taiki-e/pin-project/compare/v0.4.23...HEAD
580+
[Unreleased]: https://github.com/taiki-e/pin-project/compare/v1.0.0-alpha.1...HEAD
581+
[1.0.0-alpha.1]: https://github.com/taiki-e/pin-project/compare/v0.4.23...v1.0.0-alpha.1
577582
[0.4.23]: https://github.com/taiki-e/pin-project/compare/v0.4.22...v0.4.23
578583
[0.4.22]: https://github.com/taiki-e/pin-project/compare/v0.4.21...v0.4.22
579584
[0.4.21]: https://github.com/taiki-e/pin-project/compare/v0.4.20...v0.4.21

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pin-project"
3-
version = "0.4.23"
3+
version = "1.0.0-alpha.1"
44
authors = ["Taiki Endo <te316e89@gmail.com>"]
55
edition = "2018"
66
license = "Apache-2.0 OR MIT"
@@ -29,7 +29,7 @@ members = [
2929
]
3030

3131
[dependencies]
32-
pin-project-internal = { version = "=0.4.23", path = "pin-project-internal", default-features = false }
32+
pin-project-internal = { version = "=1.0.0-alpha.1", path = "pin-project-internal", default-features = false }
3333

3434
[dev-dependencies]
3535
auxiliary-macros = { version = "0.0.0", path = "tests/ui/auxiliary" }

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add this to your `Cargo.toml`:
2222

2323
```toml
2424
[dependencies]
25-
pin-project = "0.4"
25+
pin-project = "1.0.0-alpha.1"
2626
```
2727

2828
The current pin-project requires Rust 1.34 or later.
@@ -57,7 +57,7 @@ impl<T, U> Struct<T, U> {
5757
See [documentation][docs-url] for more details, and
5858
see [examples] directory for more examples and generated code.
5959

60-
[`pin_project`]: https://docs.rs/pin-project/0.4/pin_project/attr.pin_project.html
60+
[`pin_project`]: https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/attr.pin_project.html
6161
[examples]: examples/README.md
6262
[pin-projection]: https://doc.rust-lang.org/nightly/std/pin/index.html#projections-and-structural-pinning
6363
[struct-default-expanded]: examples/struct-default-expanded.rs

examples/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414

1515
* [example](unsafe_unpin.rs)
1616
* [generated code](unsafe_unpin-expanded.rs)
17-
* [`UnsafeUnpin` documentation](https://docs.rs/pin-project/0.4/pin_project/trait.UnsafeUnpin.html)
17+
* [`UnsafeUnpin` documentation](https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/trait.UnsafeUnpin.html)
1818

1919
### Manual implementation of `Drop` by `#[pinned_drop]`
2020

2121
* [example](pinned_drop.rs)
2222
* [generated code](pinned_drop-expanded.rs)
23-
* [`#[pinned_drop]` documentation](https://docs.rs/pin-project/0.4/pin_project/attr.pinned_drop.html)
23+
* [`#[pinned_drop]` documentation](https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/attr.pinned_drop.html)
2424

2525
### `project_replace()` method
2626

2727
* [example](project_replace.rs)
2828
* [generated code](project_replace-expanded.rs)
29-
* [`project_replace()` documentation](https://docs.rs/pin-project/0.4/pin_project/attr.pin_project.html#project_replace)
29+
* [`project_replace()` documentation](https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/attr.pin_project.html#project_replace)
3030

3131
### Ensure `!Unpin` by `#[pin_project(!Unpin)]`
3232

3333
* [example](not_unpin.rs)
3434
* [generated code](not_unpin-expanded.rs)
35-
* [`!Unpin` documentation](https://docs.rs/pin-project/0.4/pin_project/attr.pin_project.html#unpin)
35+
* [`!Unpin` documentation](https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/attr.pin_project.html#unpin)

pin-project-internal/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pin-project-internal"
3-
version = "0.4.23"
3+
version = "1.0.0-alpha.1"
44
authors = ["Taiki Endo <te316e89@gmail.com>"]
55
edition = "2018"
66
license = "Apache-2.0 OR MIT"
@@ -25,5 +25,5 @@ quote = "1.0"
2525
syn = { version = "1.0.13", features = ["full", "visit-mut"] }
2626

2727
[dev-dependencies]
28-
pin-project = { version = "0.4.23", path = ".." }
28+
pin-project = { version = "1.0.0-alpha.1", path = ".." }
2929
rustversion = "1.0"

pin-project-internal/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! An internal crate to support pin_project - **do not use directly**
22
3-
#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.23")]
3+
#![doc(html_root_url = "https://docs.rs/pin-project-internal/1.0.0-alpha.1")]
44
#![doc(test(
55
no_crate_inject,
66
attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code))
@@ -471,7 +471,7 @@ use proc_macro::TokenStream;
471471
/// [`Pin::as_mut`]: core::pin::Pin::as_mut
472472
/// [`Pin::set`]: core::pin::Pin::set
473473
/// [`Pin`]: core::pin::Pin
474-
/// [`UnsafeUnpin`]: https://docs.rs/pin-project/0.4/pin_project/trait.UnsafeUnpin.html
474+
/// [`UnsafeUnpin`]: https://docs.rs/pin-project/1.0.0-alpha.1/pin_project/trait.UnsafeUnpin.html
475475
/// [`pinned_drop`]: ./attr.pinned_drop.html
476476
/// [drop-guarantee]: core::pin#drop-guarantee
477477
/// [pin-projection]: core::pin#projections-and-structural-pinning

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
//! [struct-default-expanded]: https://github.com/taiki-e/pin-project/blob/master/examples/struct-default-expanded.rs
3737
3838
#![no_std]
39-
#![doc(html_root_url = "https://docs.rs/pin-project/0.4.23")]
39+
#![doc(html_root_url = "https://docs.rs/pin-project/1.0.0-alpha.1")]
4040
#![doc(test(
4141
no_crate_inject,
4242
attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code))

0 commit comments

Comments
 (0)