mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
chore: prepare Tokio v1.14.0 (#4234)
# 1.14.0 (November 15, 2021) ### Fixed - macros: fix compiler errors when using `mut` patterns in `select!` ([#4211]) - sync: fix a data race between `oneshot::Sender::send` and awaiting a `oneshot::Receiver` when the oneshot has been closed ([#4226]) - sync: make `AtomicWaker` panic safe ([#3689]) - runtime: fix basic scheduler dropping tasks outside a runtime context ([#4213]) ### Added - stats: add `RuntimeStats::busy_duration_total` ([#4179], [#4223]) ### Changed - io: updated `copy` buffer size to match `std::io::copy` ([#4209]) ### Documented - io: rename buffer to file in doc-test ([#4230]) - sync: fix Notify example ([#4212]) [#4211]: https://github.com/tokio-rs/tokio/pull/4211 [#4226]: https://github.com/tokio-rs/tokio/pull/4226 [#3689]: https://github.com/tokio-rs/tokio/pull/3689 [#4213]: https://github.com/tokio-rs/tokio/pull/4213 [#4179]: https://github.com/tokio-rs/tokio/pull/4179 [#4223]: https://github.com/tokio-rs/tokio/pull/4223 [#4209]: https://github.com/tokio-rs/tokio/pull/4209 [#4230]: https://github.com/tokio-rs/tokio/pull/4230 [#4212]: https://github.com/tokio-rs/tokio/pull/4212
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.13.1", features = ["full"] }
|
||||
tokio = { version = "1.14.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
@@ -1,3 +1,37 @@
|
||||
# 1.14.0 (November 15, 2021)
|
||||
|
||||
### Fixed
|
||||
|
||||
- macros: fix compiler errors when using `mut` patterns in `select!` ([#4211])
|
||||
- sync: fix a data race between `oneshot::Sender::send` and awaiting a
|
||||
`oneshot::Receiver` when the oneshot has been closed ([#4226])
|
||||
- sync: make `AtomicWaker` panic safe ([#3689])
|
||||
- runtime: fix basic scheduler dropping tasks outside a runtime context
|
||||
([#4213])
|
||||
|
||||
### Added
|
||||
|
||||
- stats: add `RuntimeStats::busy_duration_total` ([#4179], [#4223])
|
||||
|
||||
### Changed
|
||||
|
||||
- io: updated `copy` buffer size to match `std::io::copy` ([#4209])
|
||||
|
||||
### Documented
|
||||
|
||||
- io: rename buffer to file in doc-test ([#4230])
|
||||
- sync: fix Notify example ([#4212])
|
||||
|
||||
[#4211]: https://github.com/tokio-rs/tokio/pull/4211
|
||||
[#4226]: https://github.com/tokio-rs/tokio/pull/4226
|
||||
[#3689]: https://github.com/tokio-rs/tokio/pull/3689
|
||||
[#4213]: https://github.com/tokio-rs/tokio/pull/4213
|
||||
[#4179]: https://github.com/tokio-rs/tokio/pull/4179
|
||||
[#4223]: https://github.com/tokio-rs/tokio/pull/4223
|
||||
[#4209]: https://github.com/tokio-rs/tokio/pull/4209
|
||||
[#4230]: https://github.com/tokio-rs/tokio/pull/4230
|
||||
[#4212]: https://github.com/tokio-rs/tokio/pull/4212
|
||||
|
||||
# 1.13.1 (November 15, 2021)
|
||||
|
||||
### Fixed
|
||||
|
||||
+2
-2
@@ -7,12 +7,12 @@ name = "tokio"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v1.0.x" git tag.
|
||||
version = "1.13.1"
|
||||
version = "1.14.0"
|
||||
edition = "2018"
|
||||
authors = ["Tokio Contributors <[email protected]>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/tokio/1.13.1/tokio/"
|
||||
documentation = "https://docs.rs/tokio/1.14.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.13.1", features = ["full"] }
|
||||
tokio = { version = "1.14.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user