From 9cffda59c9bce8550cfdb971a1f47f402ec5adcd Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Fri, 23 Mar 2018 10:34:42 -0700 Subject: [PATCH] Bump version to v0.1.4 (#252) This also bumps: * tokio-executor: v0.1.1 * tokio-reactor: v0.1.1 * tokio-threadpool: v0.1.1 --- CHANGELOG.md | 9 +++++++++ Cargo.toml | 14 ++++++++------ src/lib.rs | 2 +- tokio-executor/CHANGELOG.md | 4 ++++ tokio-executor/Cargo.toml | 13 ++++++++++--- tokio-executor/src/lib.rs | 2 +- tokio-io/Cargo.toml | 5 ----- tokio-reactor/CHANGELOG.md | 6 ++++++ tokio-reactor/Cargo.toml | 8 +++++--- tokio-reactor/src/lib.rs | 2 +- tokio-tcp/Cargo.toml | 6 ++++-- tokio-threadpool/CHANGELOG.md | 5 +++++ tokio-threadpool/Cargo.toml | 8 +++++--- tokio-threadpool/src/lib.rs | 2 +- tokio-udp/Cargo.toml | 6 ++++-- 15 files changed, 64 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5503c5ce..ab9875e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.1.4 (March 22, 2018) + +* Fix build on FreeBSD (#218) +* Shutdown the Runtime when the handle is dropped (#214) +* Set Runtime thread name prefix for worker threads (#232) +* Add builder for Runtime (#234) +* Extract TCP and UDP types into separate crates (#224) +* Optionally support futures 0.2. + # 0.1.3 (March 09, 2018) * Fix `CurrentThread::turn` to block on idle (#212). diff --git a/Cargo.toml b/Cargo.toml index eb4c8664e..3e0e2560a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ name = "tokio" # - Update html_root_url. # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.1.3" +version = "0.1.4" authors = ["Carl Lerche "] license = "MIT" readme = "README.md" @@ -38,14 +38,16 @@ appveyor = { repository = "carllerche/tokio" } [dependencies] tokio-io = { version = "0.1.6", path = "tokio-io" } -tokio-executor = { version = "0.1.0", path = "tokio-executor" } -tokio-reactor = { version = "0.1.0", path = "tokio-reactor" } -tokio-threadpool = { version = "0.1.0", path = "tokio-threadpool" } +tokio-executor = { version = "0.1.1", path = "tokio-executor" } +tokio-reactor = { version = "0.1.1", path = "tokio-reactor" } +tokio-threadpool = { version = "0.1.1", path = "tokio-threadpool" } tokio-tcp = { version = "0.1.0", path = "tokio-tcp" } tokio-udp = { version = "0.1.0", path = "tokio-udp" } mio = "0.6.14" -futures = "0.1.18" -futures2 = { version = "0.1", path = "futures2", optional = true } +futures = "0.1.19" + +# Futures 0.2 integration +futures2 = { version = "0.1.0", path = "futures2", optional = true } [dev-dependencies] bytes = "0.4" diff --git a/src/lib.rs b/src/lib.rs index 7a10b3201..cbe9b32ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,7 +62,7 @@ //! } //! ``` -#![doc(html_root_url = "https://docs.rs/tokio/0.1.3")] +#![doc(html_root_url = "https://docs.rs/tokio/0.1.4")] #![deny(missing_docs, warnings, missing_debug_implementations)] #[macro_use] diff --git a/tokio-executor/CHANGELOG.md b/tokio-executor/CHANGELOG.md index 0eb3fedd3..e20f50261 100644 --- a/tokio-executor/CHANGELOG.md +++ b/tokio-executor/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.1 (March 22, 2018) + +* Optionally support futures 0.2. + # 0.1.0 (March 09, 2018) * Initial release diff --git a/tokio-executor/Cargo.toml b/tokio-executor/Cargo.toml index a3ba1b3bd..6088f6e98 100644 --- a/tokio-executor/Cargo.toml +++ b/tokio-executor/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "tokio-executor" -version = "0.1.0" + +# When releasing to crates.io: +# - Update html_root_url. +# - Update CHANGELOG.md. +# - Create "v0.1.x" git tag. +version = "0.1.1" documentation = "https://docs.rs/tokio-executor" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" @@ -13,8 +18,10 @@ keywords = ["futures", "tokio"] categories = ["concurrency", "asynchronous"] [dependencies] -futures = "0.1.18" -futures2 = { version = "0.1", path = "../futures2", optional = true } +futures = "0.1.19" + +# Futures 0.2 integration +futures2 = { version = "0.1.0", path = "../futures2", optional = true } [features] unstable-futures = ["futures2"] diff --git a/tokio-executor/src/lib.rs b/tokio-executor/src/lib.rs index 690c1e489..7a290cfa1 100644 --- a/tokio-executor/src/lib.rs +++ b/tokio-executor/src/lib.rs @@ -31,7 +31,7 @@ //! [`Park`]: park/index.html #![deny(missing_docs, missing_debug_implementations, warnings)] -#![doc(html_root_url = "https://docs.rs/tokio-executor/0.1.0")] +#![doc(html_root_url = "https://docs.rs/tokio-executor/0.1.1")] extern crate futures; diff --git a/tokio-io/Cargo.toml b/tokio-io/Cargo.toml index bf8232574..95a9db3ed 100644 --- a/tokio-io/Cargo.toml +++ b/tokio-io/Cargo.toml @@ -20,8 +20,3 @@ categories = ["asynchronous"] bytes = "0.4" futures = "0.1.18" log = "0.4" -futures2 = { version = "0.1", path = "../futures2", optional = true } - -[features] -unstable-futures = ["futures2"] -default = [] diff --git a/tokio-reactor/CHANGELOG.md b/tokio-reactor/CHANGELOG.md index 0eb3fedd3..3bb10c214 100644 --- a/tokio-reactor/CHANGELOG.md +++ b/tokio-reactor/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.1.1 (March 22, 2018) + +* Fix threading bugs (#227) +* Fix notification bugs (#243) +* Optionally support futures 0.2 (#172) + # 0.1.0 (March 09, 2018) * Initial release diff --git a/tokio-reactor/Cargo.toml b/tokio-reactor/Cargo.toml index 0e2ab916e..293d85e64 100644 --- a/tokio-reactor/Cargo.toml +++ b/tokio-reactor/Cargo.toml @@ -5,7 +5,7 @@ name = "tokio-reactor" # - Update html_root_url. # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.1.0" +version = "0.1.1" authors = ["Carl Lerche "] license = "MIT" readme = "README.md" @@ -18,12 +18,14 @@ Event loop that drives Tokio I/O resources. categories = ["asynchronous", "network-programming"] [dependencies] -futures = "0.1.18" +futures = "0.1.19" log = "0.4.1" mio = "0.6.14" slab = "0.4.0" -tokio-executor = { version = "0.1.0", path = "../tokio-executor" } +tokio-executor = { version = "0.1.1", path = "../tokio-executor" } tokio-io = { version = "0.1.6", path = "../tokio-io" } + +# Futures 0.2 integration futures2 = { version = "0.1", path = "../futures2", optional = true } [features] diff --git a/tokio-reactor/src/lib.rs b/tokio-reactor/src/lib.rs index c46b8c6b2..0b7cf77d2 100644 --- a/tokio-reactor/src/lib.rs +++ b/tokio-reactor/src/lib.rs @@ -27,7 +27,7 @@ //! [`PollEvented`]: struct.PollEvented.html //! [reactor module]: https://docs.rs/tokio/0.1/tokio/reactor/index.html -#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.1.0")] +#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.1.1")] #![deny(missing_docs, warnings, missing_debug_implementations)] #[macro_use] diff --git a/tokio-tcp/Cargo.toml b/tokio-tcp/Cargo.toml index 00a25dfbb..6e2ab31b7 100644 --- a/tokio-tcp/Cargo.toml +++ b/tokio-tcp/Cargo.toml @@ -18,11 +18,13 @@ categories = ["asynchronous"] [dependencies] tokio-io = { version = "0.1.6", path = "../tokio-io" } -tokio-reactor = { version = "0.1.0", path = "../tokio-reactor" } +tokio-reactor = { version = "0.1.1", path = "../tokio-reactor" } bytes = "0.4" mio = "0.6.14" iovec = "0.1" -futures = "0.1.18" +futures = "0.1.19" + +# Futures 0.2 integration futures2 = { version = "0.1", path = "../futures2", optional = true } [dev-dependencies] diff --git a/tokio-threadpool/CHANGELOG.md b/tokio-threadpool/CHANGELOG.md index 0eb3fedd3..782dbe350 100644 --- a/tokio-threadpool/CHANGELOG.md +++ b/tokio-threadpool/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.1.1 (March 22, 2018) + +* Handle futures that panic on the threadpool. +* Optionally support futures 0.2. + # 0.1.0 (March 09, 2018) * Initial release diff --git a/tokio-threadpool/Cargo.toml b/tokio-threadpool/Cargo.toml index f781f9f93..7944e5249 100644 --- a/tokio-threadpool/Cargo.toml +++ b/tokio-threadpool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-threadpool" -version = "0.1.0" +version = "0.1.1" documentation = "https://docs.rs/tokio-threadpool" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" @@ -13,12 +13,14 @@ keywords = ["futures", "tokio"] categories = ["concurrency", "asynchronous"] [dependencies] -tokio-executor = { version = "0.1.0", path = "../tokio-executor" } -futures = "0.1.18" +tokio-executor = { version = "0.1.1", path = "../tokio-executor" } +futures = "0.1.19" crossbeam-deque = "0.3" num_cpus = "1.2" rand = "0.4" log = "0.3" + +# Futures 0.2 integration futures2 = { version = "0.1", path = "../futures2", optional = true } [dev-dependencies] diff --git a/tokio-threadpool/src/lib.rs b/tokio-threadpool/src/lib.rs index e4e829bef..0a589dc22 100644 --- a/tokio-threadpool/src/lib.rs +++ b/tokio-threadpool/src/lib.rs @@ -1,6 +1,6 @@ //! A work-stealing based thread pool for executing futures. -#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.1.0")] +#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.1.1")] #![deny(warnings, missing_docs, missing_debug_implementations)] extern crate tokio_executor; diff --git a/tokio-udp/Cargo.toml b/tokio-udp/Cargo.toml index c73ef68db..045d63beb 100644 --- a/tokio-udp/Cargo.toml +++ b/tokio-udp/Cargo.toml @@ -18,11 +18,13 @@ categories = ["asynchronous"] [dependencies] tokio-io = { version = "0.1.6", path = "../tokio-io" } -tokio-reactor = { version = "0.1.0", path = "../tokio-reactor" } +tokio-reactor = { version = "0.1.1", path = "../tokio-reactor" } bytes = "0.4" mio = "0.6.14" log = "0.4" -futures = "0.1.18" +futures = "0.1.19" + +# Futures 0.2 integration futures2 = { version = "0.1", path = "../futures2", optional = true } [dev-dependencies]