summaryrefslogtreecommitdiffstats
path: root/tokio
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-12-18 13:07:27 -0800
committerGitHub <noreply@github.com>2019-12-18 13:07:27 -0800
commit2d78cfe56ac14f384e26278951b52099d33bd797 (patch)
treee6d3abb88e1fa3d31fb0cf96b65e3dc04d587d13 /tokio
parent4c645866ef4ea5b0ef8c7852281a09b2f96d969b (diff)
chore: prepare v0.2.5 release (#1984)
Also includes: - `tokio-macros` v0.2.1
Diffstat (limited to 'tokio')
-rw-r--r--tokio/CHANGELOG.md24
-rw-r--r--tokio/Cargo.toml4
-rw-r--r--tokio/src/lib.rs2
3 files changed, 27 insertions, 3 deletions
diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md
index 99ec7087..3c03fa94 100644
--- a/tokio/CHANGELOG.md
+++ b/tokio/CHANGELOG.md
@@ -1,3 +1,27 @@
+# 0.2.5 (December 18, 2019)
+
+### Added
+- `io::AsyncSeek` trait (#1924).
+- `Mutex::try_lock` (#1939)
+- `mpsc::Receiver::try_recv` and `mpsc::UnboundedReceiver::try_recv` (#1939).
+- `writev` support for `TcpStream` (#1956).
+- `time::throttle` for throttling streams (#1949).
+- implement `Stream` for `time::DelayQueue` (#1975).
+- `sync::broadcast` provides a fan-out channel (#1943).
+- `sync::Semaphore` provides an async semaphore (#1973).
+- `stream::StreamExt` provides stream utilities (#1962).
+
+### Fixes
+- deadlock risk while shutting down the runtime (#1972).
+- panic while shutting down the runtime (#1978).
+- `sync::MutexGuard` debug output (#1961).
+- misc doc improvements (#1933, #1934, #1940, #1942).
+
+### Changes
+- runtime threads are configured with `runtime::Builder::core_threads` and
+ `runtime::Builder::max_threads`. `runtime::Builder::num_threads` is
+ deprecated (#1977).
+
# 0.2.4 (December 6, 2019)
### Fixes
diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml
index c21978b7..b5d9acb1 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.4"
+version = "0.2.5"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"
-documentation = "https://docs.rs/tokio/0.2.4/tokio/"
+documentation = "https://docs.rs/tokio/0.2.5/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 831a5241..cb2fe71d 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.4")]
+#![doc(html_root_url = "https://docs.rs/tokio/0.2.5")]
#![allow(clippy::cognitive_complexity)]
#![warn(
missing_debug_implementations,