chore: prepare Tokio v1.8.0 (#3912)

This commit is contained in:
Alice Ryhl 2021-07-02 22:21:10 +02:00 committed by GitHub
parent c8ecfc894d
commit 677107d8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 3 deletions

View File

@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
```toml ```toml
[dependencies] [dependencies]
tokio = { version = "1.7.0", features = ["full"] } tokio = { version = "1.8.0", features = ["full"] }
``` ```
Then, on your main.rs: Then, on your main.rs:

View File

@ -1,3 +1,41 @@
# 1.8.0 (July 2, 2021)
### Added
- io: add `get_{ref,mut}` methods to `AsyncFdReadyGuard` and `AsyncFdReadyMutGuard` ([#3807])
- io: efficient implementation of vectored writes for `BufWriter` ([#3163])
- net: add ready/try methods to `NamedPipe{Client,Server}` ([#3866], [#3899])
- sync: add `watch::Receiver::borrow_and_update` ([#3813])
- sync: implement `From<T>` for `OnceCell<T>` ([#3877])
- time: allow users to specify Interval behaviour when delayed ([#3721])
### Added (unstable)
- rt: add `tokio::task::Builder` ([#3881])
### Fixed
- net: handle HUP event with `UnixStream` ([#3898])
### Documented
- doc: document cancellation safety ([#3900])
- time: add wait alias to sleep ([#3897])
- time: document auto-advancing behaviour of runtime ([#3763])
[#3163]: https://github.com/tokio-rs/tokio/pull/3163
[#3721]: https://github.com/tokio-rs/tokio/pull/3721
[#3763]: https://github.com/tokio-rs/tokio/pull/3763
[#3807]: https://github.com/tokio-rs/tokio/pull/3807
[#3813]: https://github.com/tokio-rs/tokio/pull/3813
[#3866]: https://github.com/tokio-rs/tokio/pull/3866
[#3877]: https://github.com/tokio-rs/tokio/pull/3877
[#3881]: https://github.com/tokio-rs/tokio/pull/3881
[#3897]: https://github.com/tokio-rs/tokio/pull/3897
[#3898]: https://github.com/tokio-rs/tokio/pull/3898
[#3899]: https://github.com/tokio-rs/tokio/pull/3899
[#3900]: https://github.com/tokio-rs/tokio/pull/3900
# 1.7.1 (June 18, 2021) # 1.7.1 (June 18, 2021)
### Fixed ### Fixed

View File

@ -7,12 +7,12 @@ name = "tokio"
# - README.md # - README.md
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "v1.0.x" git tag. # - Create "v1.0.x" git tag.
version = "1.7.1" version = "1.8.0"
edition = "2018" edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"] authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
documentation = "https://docs.rs/tokio/1.7.1/tokio/" documentation = "https://docs.rs/tokio/1.8.0/tokio/"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
description = """ description = """