diff options
Diffstat (limited to 'tokio')
-rw-r--r-- | tokio/CHANGELOG.md | 17 | ||||
-rw-r--r-- | tokio/Cargo.toml | 4 | ||||
-rw-r--r-- | tokio/src/lib.rs | 2 |
3 files changed, 20 insertions, 3 deletions
diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index e5b8f57e..001bbef0 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,20 @@ +# 0.3.1 (October 21, 2020) + +This release fixes an use-after-free in the IO driver. Additionally, the `read_buf` +and `write_buf` methods have been added back to the IO traits, as the bytes crate +is now on track to reach version 1.0 together with Tokio. + +### Fixed +- net: fix use-after-free (#3019). +- fs: ensure buffered data is written on shutdown (#3009). + +### Added +- io: `copy_buf()` (#2884). +- io: `AsyncReadExt::read_buf()`, `AsyncReadExt::write_buf()` for working with + `Buf`/`BufMut` (#3003). +- rt: `Runtime::spawn_blocking()` (#2980). +- sync: `watch::Sender::is_closed()` (#2991). + # 0.3.0 (October 15, 2020) This represents a 1.0 beta release. APIs are polished and future-proofed. APIs diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 0ebb08d2..57e49d68 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -8,12 +8,12 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v0.3.x" git tag. -version = "0.3.0" +version = "0.3.1" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.3.0/tokio/" +documentation = "https://docs.rs/tokio/0.3.1/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 0ae15ab6..66e266c3 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.3.0")] +#![doc(html_root_url = "https://docs.rs/tokio/0.3.1")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant, |