diff options
author | Carl Lerche <me@carllerche.com> | 2020-01-21 13:33:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 13:33:02 -0800 |
commit | bffbaab30d52cd6d6dabf22b3f4e5f028d1abcac (patch) | |
tree | 7778cf85db3132fa9e9e13b60e85fcc6698f1d80 | |
parent | a5e774bb38f3d0c6dc0e32d3b083021f5bc388fd (diff) |
chore: prepare v0.2.10 release (#2148)
-rw-r--r-- | tokio/CHANGELOG.md | 22 | ||||
-rw-r--r-- | tokio/Cargo.toml | 4 | ||||
-rw-r--r-- | tokio/src/lib.rs | 2 |
3 files changed, 25 insertions, 3 deletions
diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 2a76cc49..56536781 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,25 @@ +# 0.2.10 (January 21, 2019) + +### Fixes +- `#[tokio::main]` when `rt-core` feature flag is not enabled (#2139). +- remove `AsyncBufRead` from `BufStream` impl block (#2108). +- potential undefined behavior when implementing `AsyncRead` incorrectly (#2030). + +### Added +- `BufStream::with_capacity` (#2125). +- impl `From` and `Default` for `RwLock` (#2089). +- `io::ReadHalf::is_pair_of` checks if provided `WriteHalf` is for the same + underlying object (#1762, #2144). +- `runtime::Handle::try_current()` returns a handle to the current runtime (#2118). +- `stream::empty()` returns an immediately ready empty stream (#2092). +- `stream::once(val)` returns a stream that yields a single value: `val` (#2094). +- `stream::pending()` returns a stream that never becomes ready (#2092). +- `StreamExt::chain()` sequences a second stream after the first completes (#2093). +- `StreamExt::collect()` transform a stream into a collection (#2109). +- `StreamExt::fuse` ends the stream after the first `None` (#2085). +- `StreamExt::merge` combines two streams, yielding values as they become ready (#2091). +- Task-local storage (#2126). + # 0.2.9 (January 9, 2019) ### Fixes diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index ab0d8ecf..d701e511 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -8,12 +8,12 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.9" +version = "0.2.10" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.2.9/tokio/" +documentation = "https://docs.rs/tokio/0.2.10/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 1fe260bc..e567a2ad 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.2.9")] +#![doc(html_root_url = "https://docs.rs/tokio/0.2.10")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant, |