mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
chore: prepare Tokio v1.12.0 (#4123)
This commit is contained in:
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.11.0", features = ["full"] }
|
||||
tokio = { version = "1.12.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
@@ -1,3 +1,47 @@
|
||||
# 1.12.0 (September 21, 2021)
|
||||
|
||||
### Fixed
|
||||
|
||||
- mpsc: ensure `try_reserve` error is consistent with `try_send` ([#4119])
|
||||
- mpsc: use `spin_loop_hint` instead of `yield_now` ([#4115])
|
||||
- sync: make `SendError` field public ([#4097])
|
||||
|
||||
### Added
|
||||
|
||||
- io: add POSIX AIO on FreeBSD ([#4054])
|
||||
- io: add convenience method `AsyncSeekExt::rewind` ([#4107])
|
||||
- runtime: add tracing span for `block_on` futures ([#4094])
|
||||
- runtime: callback when a worker parks and unparks ([#4070])
|
||||
- sync: implement `try_recv` for mpsc channels ([#4113])
|
||||
|
||||
### Changed
|
||||
|
||||
- macros: run runtime inside `LocalSet` when using macro ([#4027])
|
||||
|
||||
### Documented
|
||||
|
||||
- docs: clarify CPU-bound tasks on Tokio ([#4105])
|
||||
- mpsc: document spurious failures on `poll_recv` ([#4117])
|
||||
- mpsc: document that `PollSender` impls `Sink` ([#4110])
|
||||
- task: document non-guarantees of `yield_now` ([#4091])
|
||||
- time: document paused time details better ([#4061], [#4103])
|
||||
|
||||
[#4027]: https://github.com/tokio-rs/tokio/pull/4027
|
||||
[#4054]: https://github.com/tokio-rs/tokio/pull/4054
|
||||
[#4061]: https://github.com/tokio-rs/tokio/pull/4061
|
||||
[#4070]: https://github.com/tokio-rs/tokio/pull/4070
|
||||
[#4091]: https://github.com/tokio-rs/tokio/pull/4091
|
||||
[#4094]: https://github.com/tokio-rs/tokio/pull/4094
|
||||
[#4097]: https://github.com/tokio-rs/tokio/pull/4097
|
||||
[#4103]: https://github.com/tokio-rs/tokio/pull/4103
|
||||
[#4105]: https://github.com/tokio-rs/tokio/pull/4105
|
||||
[#4107]: https://github.com/tokio-rs/tokio/pull/4107
|
||||
[#4110]: https://github.com/tokio-rs/tokio/pull/4110
|
||||
[#4113]: https://github.com/tokio-rs/tokio/pull/4113
|
||||
[#4115]: https://github.com/tokio-rs/tokio/pull/4115
|
||||
[#4117]: https://github.com/tokio-rs/tokio/pull/4117
|
||||
[#4119]: https://github.com/tokio-rs/tokio/pull/4119
|
||||
|
||||
# 1.11.0 (August 31, 2021)
|
||||
|
||||
### Fixed
|
||||
|
||||
+2
-2
@@ -7,12 +7,12 @@ name = "tokio"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v1.0.x" git tag.
|
||||
version = "1.11.0"
|
||||
version = "1.12.0"
|
||||
edition = "2018"
|
||||
authors = ["Tokio Contributors <[email protected]>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/tokio/1.11.0/tokio/"
|
||||
documentation = "https://docs.rs/tokio/1.12.0/tokio/"
|
||||
repository = "https://github.com/tokio-rs/tokio"
|
||||
homepage = "https://tokio.rs"
|
||||
description = """
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.11.0", features = ["full"] }
|
||||
tokio = { version = "1.12.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user