Skip to content

Commit b28da88

Browse files
authored
Prepare v0.3.2 release (#60)
1 parent 9b7e9a7 commit b28da88

File tree

6 files changed

+23
-14
lines changed

6 files changed

+23
-14
lines changed

async-stream-impl/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "async-stream-impl"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
edition = "2018"
55
license = "MIT"
66
authors = ["Carl Lerche <me@carllerche.com>"]
77
description = "proc macros for async-stream crate"
8-
documentation = "https://docs.rs/async-stream-impl/0.3"
8+
documentation = "https://docs.rs/async-stream-impl"
99
homepage = "https://github.com/tokio-rs/async-stream"
1010
repository = "https://github.com/tokio-rs/async-stream"
1111

async-stream/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 0.3.2
2+
3+
* Expand `yield` in internal macro calls (#57)
4+
5+
# 0.3.1
6+
7+
* Support reexporting (#46)
8+
* Allow yielding `!Unpin` values (#50)
9+
* Implement `Stream::size_hint` method on `AsyncStream` (#40)
10+
* Documentation improvements
11+
12+
# 0.3.0
13+
14+
* Remove proc-macro-hack (#30)

async-stream/Cargo.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,21 @@
22
name = "async-stream"
33
# When releasing to crates.io:
44
# - Update version number
5-
# - lib.rs: html_root_url.
65
# - README.md
76
# - Update CHANGELOG.md
8-
# - Update doc URL.
9-
# - Cargo.toml
10-
# - README.md
117
# - Create git tag
12-
version = "0.3.1"
8+
version = "0.3.2"
139
edition = "2018"
1410
license = "MIT"
1511
authors = ["Carl Lerche <me@carllerche.com>"]
1612
description = "Asynchronous streams using async & await notation"
17-
documentation = "https://docs.rs/async-stream/0.3"
13+
documentation = "https://docs.rs/async-stream"
1814
homepage = "https://github.com/tokio-rs/async-stream"
1915
repository = "https://github.com/tokio-rs/async-stream"
2016
readme = "README.md"
2117

2218
[dependencies]
23-
async-stream-impl = { version = "=0.3.1", path = "../async-stream-impl" }
19+
async-stream-impl = { version = "=0.3.2", path = "../async-stream-impl" }
2420
futures-core = "0.3"
2521

2622
[dev-dependencies]

async-stream/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![doc(html_root_url = "https://docs.rs/async-stream/0.3.1")]
21
#![warn(
32
missing_debug_implementations,
43
missing_docs,

async-stream/tests/ui/yield_in_async.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ error[E0727]: `async` generators are not yet supported
1212
6 | yield 123;
1313
| ^^^^^^^^^
1414

15-
error[E0271]: type mismatch resolving `<[static generator@$DIR/src/lib.rs:202:9: 202:67] as Generator<ResumeTy>>::Yield == ()`
15+
error[E0271]: type mismatch resolving `<[static generator@$DIR/src/lib.rs:201:9: 201:67] as Generator<ResumeTy>>::Yield == ()`
1616
--> $DIR/yield_in_async.rs:4:5
1717
|
1818
4 | / stream! {

async-stream/tests/ui/yield_in_closure.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ error[E0658]: yield syntax is experimental
66
|
77
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
88

9-
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:202:9: 202:67]`
9+
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
1010
--> $DIR/yield_in_closure.rs:6:14
1111
|
1212
6 | .and_then(|v| {
13-
| ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:202:9: 202:67]`
13+
| ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
1414
|
15-
= help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/src/lib.rs:202:9: 202:67]`
15+
= help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/src/lib.rs:201:9: 201:67]`
1616

1717
Some errors have detailed explanations: E0277, E0658.
1818
For more information about an error, try `rustc --explain E0277`.

0 commit comments

Comments
 (0)