summaryrefslogtreecommitdiffstats
path: root/tokio
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-05-14 11:21:24 -0700
committerGitHub <noreply@github.com>2019-05-14 11:21:24 -0700
commit475dabe96d98d56e641e2ce0dd2ed23031e8523f (patch)
treedbdc1aef1cde530c1811a1a9e71501ba36b9e9fb /tokio
parent951f2fd910fddc632d78a3be3715e25fcaaa3081 (diff)
Release tokio v0.1.20, tokio-timer v0.2.21, and remove async-await-preview feature. (#1089)
The `async-await-preview` feature is removed as 0.1 will no longer track Rust nightly. This also bumps: - tokio-timer (0.2.11).
Diffstat (limited to 'tokio')
-rw-r--r--tokio/CHANGELOG.md11
-rw-r--r--tokio/Cargo.toml15
-rw-r--r--tokio/src/lib.rs23
3 files changed, 14 insertions, 35 deletions
diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md
index 7ba62581..afb0f934 100644
--- a/tokio/CHANGELOG.md
+++ b/tokio/CHANGELOG.md
@@ -1,6 +1,17 @@
This changelog only applies to the `tokio` crate proper. Each sub crate
maintains its own changelog tracking changes made in each respective sub crate.
+# 0.1.20 (May 14, 2019)
+
+### Added
+- `tokio::runtime::Builder::panic_handler` allows configuring handling
+ panics on the runtime (#1055).
+
+# 0.1.19 (April 22, 2019)
+
+### Added
+- Re-export `tokio::sync::Mutex` primitive (#964).
+
# 0.1.18 (March 22, 2019)
### Added
diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml
index 085e4d1a..33d3f3d2 100644
--- a/tokio/Cargo.toml
+++ b/tokio/Cargo.toml
@@ -8,11 +8,11 @@ name = "tokio"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
-version = "0.1.19"
+version = "0.1.20"
authors = ["Carl Lerche <me@carllerche.com>"]
license = "MIT"
readme = "README.md"
-documentation = "https://docs.rs/tokio/0.1.19/tokio/"
+documentation = "https://docs.rs/tokio/0.1.20/tokio/"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
@@ -55,13 +55,6 @@ timer = ["tokio-timer"]
udp = ["tokio-udp"]
uds = ["tokio-uds"]
-# This feature comes with no promise of stability. Things will
-# break with each patch release. Use at your own risk.
-async-await-preview = [
- "tokio-futures/async-await-preview",
- "tokio-macros/async-await-preview",
-]
-
[dependencies]
# Only non-optional dependency...
futures = "0.1.20"
@@ -74,7 +67,6 @@ tokio-current-thread = { version = "0.1.6", optional = true }
tokio-fs = { version = "0.1.6", optional = true }
tokio-io = { version = "0.1.6", optional = true }
tokio-executor = { version = "0.1.7", optional = true }
-tokio-macros = { version = "0.1.0", optional = true, path = "../tokio-macros" }
tokio-reactor = { version = "0.1.1", optional = true }
tokio-sync = { version = "0.1.5", optional = true }
tokio-threadpool = { version = "0.1.14", optional = true }
@@ -86,9 +78,6 @@ tokio-trace-core = { version = "0.1", optional = true }
# Needed until `reactor` is removed from `tokio`.
mio = { version = "0.6.14", optional = true }
-# Needed for async/await preview support
-tokio-futures = { version = "0.1.0", optional = true, path = "../tokio-futures" }
-
[target.'cfg(unix)'.dependencies]
tokio-uds = { version = "0.2.1", optional = true }
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs
index 872f23cd..9efe7429 100644
--- a/tokio/src/lib.rs
+++ b/tokio/src/lib.rs
@@ -1,6 +1,5 @@
-#![doc(html_root_url = "https://docs.rs/tokio/0.1.19")]
+#![doc(html_root_url = "https://docs.rs/tokio/0.1.20")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
-#![cfg_attr(feature = "async-await-preview", feature(async_await, await_macro))]
//! A runtime for writing reliable, asynchronous, and slim applications.
//!
@@ -136,23 +135,3 @@ if_runtime! {
pub use executor::spawn;
pub use runtime::run;
}
-
-// ===== Experimental async/await support =====
-
-#[cfg(feature = "async-await-preview")]
-extern crate tokio_futures;
-
-#[cfg(feature = "async-await-preview")]
-extern crate tokio_macros;
-
-#[cfg(feature = "async-await-preview")]
-mod async_await;
-
-#[cfg(feature = "async-await-preview")]
-pub use async_await::{run_async, spawn_async};
-
-#[cfg(feature = "async-await-preview")]
-pub use tokio_futures::await;
-
-#[cfg(feature = "async-await-preview")]
-pub use tokio_macros::{main, test};