diff --git a/README.md b/README.md index 7445f51f3..cfe35c29b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ the Rust programming language. It is: [Website](https://tokio.rs) | [Guides](https://tokio.rs/docs/) | -[API Docs](https://docs.rs/tokio/0.1.22/tokio) | +[API Docs](https://docs.rs/tokio/0.2.0-alpha.1/tokio) | [Chat](https://gitter.im/tokio-rs/tokio) ## Overview @@ -47,9 +47,9 @@ level, it provides a few major components: These components provide the runtime components necessary for building an asynchronous application. -[net]: https://docs.rs/tokio/0.1.22/tokio/net/index.html -[reactor]: https://docs.rs/tokio/0.1.22/tokio/reactor/index.html -[scheduler]: https://docs.rs/tokio/0.1.22/tokio/runtime/index.html +[net]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/net/index.html +[reactor]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/reactor/index.html +[scheduler]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/runtime/index.html ## Example @@ -109,7 +109,7 @@ the [Tokio Gitter channel][chat]. We would be happy to try to answer your question. Last, if that doesn't work, try opening an [issue] with the question. [Guides]: https://tokio.rs/docs/ -[API documentation]: https://docs.rs/tokio/0.1.22/tokio +[API documentation]: https://docs.rs/tokio/0.2.0-alpha.1/tokio [chat]: https://gitter.im/tokio-rs/tokio [issue]: https://github.com/tokio-rs/tokio/issues/new diff --git a/tokio-buf/CHANGELOG.md b/tokio-buf/CHANGELOG.md index 6a265f255..7f8fe5a2b 100644 --- a/tokio-buf/CHANGELOG.md +++ b/tokio-buf/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.1 (April 22, 2019) ### Added diff --git a/tokio-buf/Cargo.toml b/tokio-buf/Cargo.toml index 73edc7ae0..0c4105f14 100644 --- a/tokio-buf/Cargo.toml +++ b/tokio-buf/Cargo.toml @@ -5,21 +5,19 @@ name = "tokio-buf" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-buf/0.1.1/tokio_buf" +documentation = "https://docs.rs/tokio-buf/0.2.0-alpha.1/tokio_buf" description = """ Asynchronous stream of byte buffers """ categories = ["asynchronous"] -publish = false [dependencies] bytes = "0.4.10" diff --git a/tokio-buf/README.md b/tokio-buf/README.md index f5d939df5..787033a9d 100644 --- a/tokio-buf/README.md +++ b/tokio-buf/README.md @@ -2,22 +2,6 @@ Asynchronous stream of byte buffers -[Documenation](https://docs.rs/tokio-buf) - -## Usage - -Add this to your `Cargo.toml`: - -```toml -[dependencies] -tokio-buf = "0.1.1" -``` - -You can find extensive documentation and examples about how to use this crate -online at [https://tokio.rs](https://tokio.rs). The [API -documentation](https://docs.rs/tokio-buf) is also a great place to get started -for the nitty-gritty. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-buf/src/lib.rs b/tokio-buf/src/lib.rs index 38575f8ce..ce65f2b12 100644 --- a/tokio-buf/src/lib.rs +++ b/tokio-buf/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-buf/0.1.1")] +#![doc(html_root_url = "https://docs.rs/tokio-buf/0.2.0-alpha.1")] #![deny( missing_docs, missing_debug_implementations, diff --git a/tokio-codec/CHANGELOG.md b/tokio-codec/CHANGELOG.md index 02cec7a4e..55dcbcbfc 100644 --- a/tokio-codec/CHANGELOG.md +++ b/tokio-codec/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.1 (September 26, 2018) * Allow setting max line length with `LinesCodec` (#632) diff --git a/tokio-codec/Cargo.toml b/tokio-codec/Cargo.toml index 8f56d07ca..b5cfc7cd9 100644 --- a/tokio-codec/Cargo.toml +++ b/tokio-codec/Cargo.toml @@ -5,30 +5,30 @@ name = "tokio-codec" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche ", "Bryan Burgers "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-codec/0.1.1/tokio_codec" +documentation = "https://docs.rs/tokio-codec/0.2.0-alpha.1/tokio_codec" description = """ Utilities for encoding and decoding frames. """ categories = ["asynchronous"] -publish = false [dependencies] -tokio-io = { version = "0.2.0", path = "../tokio-io" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } + bytes = "0.4.7" -futures-core-preview = "= 0.3.0-alpha.17" -futures-sink-preview = "= 0.3.0-alpha.17" +futures-core-preview = "=0.3.0-alpha.17" +futures-sink-preview = "=0.3.0-alpha.17" log = "0.4" [dev-dependencies] -futures-util-preview = "= 0.3.0-alpha.17" -tokio = { version = "0.2.0", path = "../tokio" } -tokio-test = { version = "0.2.0", path = "../tokio-test" } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + +futures-util-preview = "=0.3.0-alpha.17" diff --git a/tokio-codec/README.md b/tokio-codec/README.md index 4c0bf890d..359070597 100644 --- a/tokio-codec/README.md +++ b/tokio-codec/README.md @@ -2,13 +2,6 @@ Utilities for encoding and decoding frames. -[Documentation](https://docs.rs/tokio-codec) - -You can find extensive documentation and examples about how to use this crate -online at [https://tokio.rs](https://tokio.rs). The [API -documentation](https://docs.rs/tokio-codec) is also a great place to get started -for the nitty-gritty. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-codec/src/lib.rs b/tokio-codec/src/lib.rs index 956fc362a..c1a149bbe 100644 --- a/tokio-codec/src/lib.rs +++ b/tokio-codec/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-codec/0.1.1")] +#![doc(html_root_url = "https://docs.rs/tokio-codec/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-current-thread/CHANGELOG.md b/tokio-current-thread/CHANGELOG.md index deb764d4a..6d4f7d693 100644 --- a/tokio-current-thread/CHANGELOG.md +++ b/tokio-current-thread/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.6 (March 22, 2019) ### Added diff --git a/tokio-current-thread/Cargo.toml b/tokio-current-thread/Cargo.toml index 9c00392e7..598b88984 100644 --- a/tokio-current-thread/Cargo.toml +++ b/tokio-current-thread/Cargo.toml @@ -5,26 +5,24 @@ name = "tokio-current-thread" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -documentation = "https://docs.rs/tokio-current-thread/0.1.6/tokio_current_thread" -repository = "https://github.com/tokio-rs/tokio" -homepage = "https://github.com/tokio-rs/tokio" +authors = ["Tokio Contributors "] license = "MIT" -authors = ["Carl Lerche "] +repository = "https://github.com/tokio-rs/tokio" +homepage = "https://tokio.rs" +documentation = "https://docs.rs/tokio-current-thread/0.2.0-alpha.1/tokio_current_thread" description = """ Single threaded executor which manage many tasks concurrently on the current thread. """ keywords = ["futures", "tokio"] categories = ["concurrency", "asynchronous"] -publish = false [dependencies] -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } crossbeam-channel = "0.3.8" [dev-dependencies] -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } diff --git a/tokio-current-thread/README.md b/tokio-current-thread/README.md index 007b84bae..2d86bacbd 100644 --- a/tokio-current-thread/README.md +++ b/tokio-current-thread/README.md @@ -2,12 +2,6 @@ Single threaded executor for Tokio. -[Documentation](https://docs.rs/tokio-current-thread/0.1.6/tokio_current_thread/) - -## Overview - -This crate provides the single threaded executor which execute many tasks concurrently. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-current-thread/src/lib.rs b/tokio-current-thread/src/lib.rs index 7d32b87c6..004e746e4 100644 --- a/tokio-current-thread/src/lib.rs +++ b/tokio-current-thread/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-current-thread/0.1.6")] +#![doc(html_root_url = "https://docs.rs/tokio-current-thread/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-executor/CHANGELOG.md b/tokio-executor/CHANGELOG.md index d0c55b466..95fd8407b 100644 --- a/tokio-executor/CHANGELOG.md +++ b/tokio-executor/CHANGELOG.md @@ -1,4 +1,7 @@ -# 0.2.0 (unreleased) +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. ### Removed - `Enter::make_permanent` and `Enter::on_exit` (#???) diff --git a/tokio-executor/Cargo.toml b/tokio-executor/Cargo.toml index 0219e826e..24d71f91a 100644 --- a/tokio-executor/Cargo.toml +++ b/tokio-executor/Cargo.toml @@ -5,25 +5,24 @@ name = "tokio-executor" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -documentation = "https://docs.rs/tokio-executor/0.1.7/tokio_executor" +documentation = "https://docs.rs/tokio-executor/0.2.0-alpha.1/tokio_executor" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" license = "MIT" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] description = """ Future execution primitives """ keywords = ["futures", "tokio"] categories = ["concurrency", "asynchronous"] -publish = false [dependencies] [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } + futures-core-preview = "=0.3.0-alpha.17" -tokio = { version = "*", path = "../tokio" } diff --git a/tokio-executor/README.md b/tokio-executor/README.md index 301599018..328b52b6d 100644 --- a/tokio-executor/README.md +++ b/tokio-executor/README.md @@ -2,40 +2,6 @@ Task execution related traits and utilities. -[Documentation](https://docs.rs/tokio-executor/0.1.7/tokio_executor) - -## Overview - -In the Tokio execution model, futures are lazy. When a future is created, no -work is performed. In order for the work defined by the future to happen, the -future must be submitted to an executor. A future that is submitted to an -executor is called a "task". - -The executor is responsible for ensuring that [`Future::poll`] is called -whenever the task is [notified]. Notification happens when the internal state of -a task transitions from "not ready" to ready. For example, a socket might have -received data and a call to `read` will now be able to succeed. - -This crate provides traits and utilities that are necessary for building an -executor, including: - -* The [`Executor`] trait describes the API for spawning a future onto an - executor. - -* [`enter`] marks that the current thread is entering an execution - context. This prevents a second executor from accidentally starting from - within the context of one that is already running. - -* [`DefaultExecutor`] spawns tasks onto the default executor for the current - context. - -* [`Park`] abstracts over blocking and unblocking the current thread. - -[`Executor`]: https://docs.rs/tokio-executor/0.1.7/tokio_executor/trait.Executor.html -[`enter`]: https://docs.rs/tokio-executor/0.1.7/tokio_executor/fn.enter.html -[`DefaultExecutor`]: https://docs.rs/tokio-executor/0.1.7/tokio_executor/struct.DefaultExecutor.html -[`Park`]: https://docs.rs/tokio-executor/0.1.7/tokio_executor/park/trait.Park.html - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-executor/src/lib.rs b/tokio-executor/src/lib.rs index 37b7751a4..8ae4e1ffb 100644 --- a/tokio-executor/src/lib.rs +++ b/tokio-executor/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-executor/0.1.7")] +#![doc(html_root_url = "https://docs.rs/tokio-executor/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-fs/CHANGELOG.md b/tokio-fs/CHANGELOG.md index 202e09896..6689a93c6 100644 --- a/tokio-fs/CHANGELOG.md +++ b/tokio-fs/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.6 (March 1, 2019) ### Added diff --git a/tokio-fs/Cargo.toml b/tokio-fs/Cargo.toml index ad2e798d1..24aaffffb 100644 --- a/tokio-fs/Cargo.toml +++ b/tokio-fs/Cargo.toml @@ -5,35 +5,31 @@ name = "tokio-fs" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-fs/0.1.6/tokio_fs" +documentation = "https://docs.rs/tokio-fs/0.2.0-alpha.1/tokio_fs" description = """ Filesystem API for Tokio. """ keywords = ["tokio", "futures", "fs", "file", "async"] categories = ["asynchronous", "network-programming", "filesystem"] -publish = false [dependencies] -tokio-io = { version = "0.2.0", features = ["util"], path = "../tokio-io" } -tokio-threadpool = { version = "0.2.0", path = "../tokio-threadpool" } +tokio-io = { version = "=0.2.0-alpha.1", features = ["util"], path = "../tokio-io" } +tokio-threadpool = { version = "=0.2.0-alpha.1", path = "../tokio-threadpool" } -futures-core-preview = "= 0.3.0-alpha.17" -futures-util-preview = "= 0.3.0-alpha.17" +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } + rand = "0.7" tempfile = "3" -# tokio-codec = { version = "0.2.0", path = "../tokio-codec" } -tokio = { version = "*", path = "../tokio" } -# futures-preview = { version = "0.3.0-alpha.17" } -# futures-util-preview = "0.3.0-alpha.17" diff --git a/tokio-fs/README.md b/tokio-fs/README.md index 5c871b62f..55a5ad481 100644 --- a/tokio-fs/README.md +++ b/tokio-fs/README.md @@ -2,12 +2,6 @@ Asynchronous filesystem manipulation operations (and stdin, stdout, stderr). -[Documentation](https://docs.rs/tokio-fs/0.1.6/tokio_fs) - -## Overview - -This crate provides filesystem manipulation facilities for usage with Tokio. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-fs/src/lib.rs b/tokio-fs/src/lib.rs index be936adf4..669f2463f 100644 --- a/tokio-fs/src/lib.rs +++ b/tokio-fs/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-fs/0.1.6")] +#![doc(html_root_url = "https://docs.rs/tokio-fs/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-io/CHANGELOG.md b/tokio-io/CHANGELOG.md index fe4a63e1e..572636baa 100644 --- a/tokio-io/CHANGELOG.md +++ b/tokio-io/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.12 (March 1, 2019) ### Added diff --git a/tokio-io/Cargo.toml b/tokio-io/Cargo.toml index 894f86133..5033ce743 100644 --- a/tokio-io/Cargo.toml +++ b/tokio-io/Cargo.toml @@ -5,21 +5,19 @@ name = "tokio-io" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-io/0.1.12/tokio_io" +documentation = "https://docs.rs/tokio-io/0.2.0-alpha.1/tokio_io" description = """ Core I/O primitives for asynchronous I/O in Rust. """ categories = ["asynchronous"] -publish = false [features] util = ["memchr"] @@ -27,11 +25,11 @@ util = ["memchr"] [dependencies] bytes = "0.4.7" log = "0.4" -futures-core-preview = "0.3.0-alpha.17" +futures-core-preview = "=0.3.0-alpha.17" memchr = { version = "2.2", optional = true } [dev-dependencies] -pin-utils = "0.1.0-alpha.4" -tokio = { version = "0.2.0", path = "../tokio" } -futures-util-preview = "0.3.0-alpha.17" -tokio-test = { version = "0.2.0", path = "../tokio-test" } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + +futures-util-preview = "=0.3.0-alpha.17" diff --git a/tokio-io/README.md b/tokio-io/README.md index 82ea3d57e..9aad7a322 100644 --- a/tokio-io/README.md +++ b/tokio-io/README.md @@ -2,24 +2,6 @@ Core I/O abstractions for the Tokio stack. -[![Build Status](https://travis-ci.org/tokio-rs/tokio-io.svg?branch=master)](https://travis-ci.org/tokio-rs/tokio-io) - -[Documentation](https://docs.rs/tokio-io/0.1.12/tokio_io) - -## Usage - -Add this to your `Cargo.toml`: - -```toml -[dependencies] -tokio-io = "0.1" -``` - -You can find extensive documentation and examples about how to use this crate -online at [https://tokio.rs](https://tokio.rs). The [API -documentation](https://docs.rs/tokio-io) is also a great place to get started -for the nitty-gritty. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-io/src/async_write.rs b/tokio-io/src/async_write.rs index 7bcb43399..62155112b 100644 --- a/tokio-io/src/async_write.rs +++ b/tokio-io/src/async_write.rs @@ -1,4 +1,3 @@ -//use crate::AsyncRead; use bytes::Buf; use futures_core::ready; use std::io; diff --git a/tokio-io/src/lib.rs b/tokio-io/src/lib.rs index 1c5fd005f..968f224ef 100644 --- a/tokio-io/src/lib.rs +++ b/tokio-io/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-io/0.2.0")] +#![doc(html_root_url = "https://docs.rs/tokio-io/0.2.0-alpha.1")] #![deny(missing_debug_implementations, missing_docs, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-io/tests/async_read.rs b/tokio-io/tests/async_read.rs index bc5b29494..d5baac64e 100644 --- a/tokio-io/tests/async_read.rs +++ b/tokio-io/tests/async_read.rs @@ -3,7 +3,7 @@ use tokio_test::task::MockTask; use tokio_test::{assert_ready_err, assert_ready_ok}; use bytes::{BufMut, BytesMut}; -use pin_utils::pin_mut; +use futures_util::pin_mut; use std::io; use std::pin::Pin; use std::task::{Context, Poll}; diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index f929caa6e..337649e48 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -5,13 +5,19 @@ name = "tokio-macros" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" authors = ["Tokio Contributors "] -publish = false +license = "MIT" +repository = "https://github.com/tokio-rs/tokio" +homepage = "https://tokio.rs" +documentation = "https://docs.rs/tokio-macros/0.2.0-alpha.1/tokio_macros" +description = """ +Tokio's proc macros. +""" +categories = ["asynchronous"] [lib] proc-macro = true @@ -24,4 +30,4 @@ quote = "0.6.11" syn = { version = "0.15.27", features = ["full", "extra-traits", "visit-mut"] } [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio", default-features = false, features = ["rt-full"] } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio", default-features = false, features = ["rt-full"] } diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 2d24dd9a8..b7279b1ee 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -1,3 +1,4 @@ +#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.0-alpha.1")] #![deny(missing_debug_implementations, unreachable_pub, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-process/CHANGELOG.md b/tokio-process/CHANGELOG.md index 61bb06dfa..6b6a24f4a 100644 --- a/tokio-process/CHANGELOG.md +++ b/tokio-process/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.3.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + ## 0.2.4 - 2019-06-21 ### Fixed * Proccesses "leaked" via `Child::forget` now reaped rather than left as zombies diff --git a/tokio-process/Cargo.toml b/tokio-process/Cargo.toml index eb998c1d7..86103d9e6 100644 --- a/tokio-process/Cargo.toml +++ b/tokio-process/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "tokio-process" # When releasing to crates.io: +# - Remove path dependencies # - Update html_root_url. +# - Update doc url +# - Cargo.toml # - Update CHANGELOG.md. -# - Create "X.Y.Z" git tag. -version = "0.3.0" -publish = false +# - Create "v0.1.x" git tag. +version = "0.3.0-alpha.1" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" @@ -18,21 +20,21 @@ An implementation of an asynchronous process management backed futures. categories = ["asynchronous"] [dependencies] -futures-core-preview = { version = "0.3.0-alpha.17" } -futures-util-preview = { version = "0.3.0-alpha.17" } +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" log = "0.4" -tokio-io = { version = "0.2.0", path = "../tokio-io", features = ["util"] } -tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io", features = ["util"] } +tokio-reactor = { version = "=0.2.0-alpha.1", path = "../tokio-reactor" } [dev-dependencies.tokio] -version = "0.2.0" +version = "=0.2.0-alpha.1" path = "../tokio" default-features = false features = ["codec", "rt-full"] [target.'cfg(windows)'.dependencies] mio-named-pipes = "0.1" -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } [target.'cfg(windows)'.dependencies.winapi] version = "0.3" @@ -53,4 +55,4 @@ lazy_static = "1.3" libc = "0.2" log = "0.4" mio = "0.6.5" -tokio-signal = { version = "0.3.0", path = "../tokio-signal" } +tokio-signal = { version = "=0.3.0-alpha.1", path = "../tokio-signal" } diff --git a/tokio-process/README.md b/tokio-process/README.md index 9a252d9de..a3c6f5fd6 100644 --- a/tokio-process/README.md +++ b/tokio-process/README.md @@ -2,41 +2,6 @@ An implementation of process management for Tokio -[Documentation](https://docs.rs/tokio-process/0.2.4/tokio_process) - -## Usage - -First, add this to your `Cargo.toml`: - -```toml -[dependencies] -tokio-process = "0.2" -``` - -Next you can use this in conjunction with the `tokio` and `futures` crates: - -```rust,no_run -use std::process::Command; - -use futures::Future; -use tokio_process::CommandExt; - -fn main() { - // Use the standard library's `Command` type to build a process and - // then execute it via the `CommandExt` trait. - let child = Command::new("echo").arg("hello").arg("world").spawn_async(); - - // Make sure our child succeeded in spawning and process the result - let future = child - .expect("failed to spawn") - .map(|status| println!("exit status: {}", status)) - .map_err(|e| panic!("failed to wait for exit: {}", e)); - - // Send the future to the tokio runtime for execution - tokio::run(future) -} -``` - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-process/src/lib.rs b/tokio-process/src/lib.rs index 55e0eb28a..b52cf947c 100644 --- a/tokio-process/src/lib.rs +++ b/tokio-process/src/lib.rs @@ -1,3 +1,5 @@ +#![doc(html_root_url = "https://docs.rs/tokio-process/0.3.0-alpha.1")] + //! An implementation of asynchronous process management for Tokio. //! //! This crate provides a `CommandExt` trait to enhance the functionality of the diff --git a/tokio-reactor/CHANGELOG.md b/tokio-reactor/CHANGELOG.md index 989d842cd..649f234db 100644 --- a/tokio-reactor/CHANGELOG.md +++ b/tokio-reactor/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.9 (March 1, 2019) ### Added diff --git a/tokio-reactor/Cargo.toml b/tokio-reactor/Cargo.toml index f504ccae8..21e73ab19 100644 --- a/tokio-reactor/Cargo.toml +++ b/tokio-reactor/Cargo.toml @@ -5,22 +5,20 @@ name = "tokio-reactor" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-reactor/0.1.9/tokio_reactor" +documentation = "https://docs.rs/tokio-reactor/0.2.0-alpha.1/tokio_reactor" description = """ Event loop that drives Tokio I/O resources. """ categories = ["asynchronous", "network-programming"] -publish = false [dependencies] crossbeam-utils = "0.6.0" @@ -30,12 +28,12 @@ mio = "0.6.14" num_cpus = "1.8.0" parking_lot = "0.9" slab = "0.4.0" -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } -tokio-io = { version = "0.2.0", path = "../tokio-io" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } -futures-core-preview = "0.3.0-alpha.17" +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } +futures-core-preview = "=0.3.0-alpha.17" [dev-dependencies] num_cpus = "1.8.0" -tokio = "0.1.7" +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } tokio-io-pool = "0.1.4" diff --git a/tokio-reactor/README.md b/tokio-reactor/README.md index 7befabda0..08758c860 100644 --- a/tokio-reactor/README.md +++ b/tokio-reactor/README.md @@ -2,35 +2,6 @@ Event loop that drives Tokio I/O resources. -[Documentation](https://docs.rs/tokio-reactor/0.1.9/tokio_reactor) - -## Overview - -The reactor is the engine that drives asynchronous I/O resources (like TCP and -UDP sockets). It is backed by [`mio`] and acts as a bridge between [`mio`] and -[`futures`]. - -The crate provides: - -* [`Reactor`] is the main type of this crate. It performs the event loop logic. - -* [`Handle`] provides a reference to a reactor instance. - -* [`Registration`] and [`PollEvented`] allow third parties to implement I/O - resources that are driven by the reactor. - -Application authors will not use this crate directly. Instead, they will use the -[`tokio`] crate. Library authors should only depend on `tokio-reactor` if they -are building a custom I/O resource. - -[`mio`]: http://github.com/carllerche/mio -[`futures`]: http://github.com/rust-lang-nursery/futures-rs -[`Reactor`]: https://docs.rs/tokio-reactor/0.1.9/tokio_reactor/struct.Reactor.html -[`Handle`]: https://docs.rs/tokio-reactor/0.1.9/tokio_reactor/struct.Handle.html -[`Registration`]: https://docs.rs/tokio-reactor/0.1.9/tokio_reactor/struct.Registration.html -[`PollEvented`]: https://docs.rs/tokio-reactor/0.1.9/tokio_reactor/struct.PollEvented.html -[`tokio`]: ../ - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-reactor/src/lib.rs b/tokio-reactor/src/lib.rs index 33a00cbda..ca15d2b57 100644 --- a/tokio-reactor/src/lib.rs +++ b/tokio-reactor/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.1.9")] +#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-signal/CHANGELOG.md b/tokio-signal/CHANGELOG.md index c25075992..baf344626 100644 --- a/tokio-signal/CHANGELOG.md +++ b/tokio-signal/CHANGELOG.md @@ -1,12 +1,13 @@ -# 0.3.0 +# 0.3.0-alpha.1 (August 8, 2019) ### Changed -- **Breaking:** `windows::Event` has been removed in favor of `CtrlC` and -a separate `windows::CtrlBreak` struct. -- **Breaking:** `ctrl_c{,_with_handle}` has been replaced with a `CtrlC` struct -(which can be constructed via `CtrlC::{new, with_handle}`. -- **Breaking:** `unix::Signal` returns `()` instead of the signal number used in registration -- **Breaking:** `unis::Signal` constructors now return a simple result rather than a lazy future +- Switch to `async`, `await`, and `std::future`. +- `windows::Event` has been removed in favor of `CtrlC` and + a separate `windows::CtrlBreak` struct. +- `ctrl_c{,_with_handle}` has been replaced with a `CtrlC` struct + (which can be constructed via `CtrlC::{new, with_handle}`. +- `unix::Signal` returns `()` instead of the signal number used in registration +- `unis::Signal` constructors now return a simple result rather than a lazy future # 0.2.9 diff --git a/tokio-signal/Cargo.toml b/tokio-signal/Cargo.toml index 2c17e159a..984e37e7d 100644 --- a/tokio-signal/Cargo.toml +++ b/tokio-signal/Cargo.toml @@ -5,34 +5,28 @@ name = "tokio-signal" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.3.x" git tag. -version = "0.3.0" +version = "0.3.0-alpha.1" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" -documentation = "https://docs.rs/tokio-signal/0.2.8/tokio_signal" +documentation = "https://docs.rs/tokio-signal/0.3.0-alpha.1/tokio_signal" description = """ An implementation of an asynchronous Unix signal handling backed futures. """ categories = ["asynchronous"] -publish = false - -[badges] -travis-ci = { repository = "tokio-rs/tokio" } -appveyor = { repository = "carllerche/tokio", id = "s83yxhy9qeb58va7" } [dependencies] -futures-core-preview = "0.3.0-alpha.17" -futures-util-preview = "0.3.0-alpha.17" +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" lazy_static = "1" -tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" } -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } -tokio-io = { version = "0.2.0", path = "../tokio-io" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } +tokio-reactor = { version = "=0.2.0-alpha.1", path = "../tokio-reactor" } +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } [target.'cfg(unix)'.dependencies] libc = "0.2" @@ -41,9 +35,9 @@ mio-uds = "0.6" signal-hook-registry = "~1" [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio" } -tokio-timer = { version = "0.3.0", path = "../tokio-timer" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync", features = ["async-traits"]} +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-timer = { version = "=0.3.0-alpha.1", path = "../tokio-timer" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync", features = ["async-traits"]} [target.'cfg(windows)'.dependencies.winapi] version = "0.3" diff --git a/tokio-signal/README.md b/tokio-signal/README.md index 695394fed..88a7baa9b 100644 --- a/tokio-signal/README.md +++ b/tokio-signal/README.md @@ -2,38 +2,6 @@ Unix signal handling for Tokio. -[Documentation](https://docs.rs/tokio-signal/0.2.8/tokio_signal) - -## Usage - -First, add this to your `Cargo.toml`: - -```toml -[dependencies] -tokio-signal = "0.2.8" -``` - -Next you can use this in conjunction with the `tokio` and `futures` crates: - -```rust,no_run -use futures::{Future, Stream}; - -fn main() { - - // Create an infinite stream of "Ctrl+C" notifications. Each item received - // on this stream may represent multiple ctrl-c signals. - let ctrl_c = tokio_signal::ctrl_c().flatten_stream(); - - // Process each ctrl-c as it comes in - let prog = ctrl_c.for_each(|()| { - println!("ctrl-c received!"); - Ok(()) - }); - - tokio::run(prog.map_err(|err| panic!("{}", err))); -} -``` - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-signal/src/lib.rs b/tokio-signal/src/lib.rs index 68bdd6860..56f0d1abb 100644 --- a/tokio-signal/src/lib.rs +++ b/tokio-signal/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-signal/0.2.8")] +#![doc(html_root_url = "https://docs.rs/tokio-signal/0.3.0-alpha.1")] #![deny(missing_debug_implementations, missing_docs, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![cfg_attr(test, feature(async_await))] diff --git a/tokio-sync/CHANGELOG.md b/tokio-sync/CHANGELOG.md index 60b500a24..f1b43f8fa 100644 --- a/tokio-sync/CHANGELOG.md +++ b/tokio-sync/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.6 (June 4, 2019) ### Added diff --git a/tokio-sync/Cargo.toml b/tokio-sync/Cargo.toml index af587d95f..0b1b89566 100644 --- a/tokio-sync/Cargo.toml +++ b/tokio-sync/Cargo.toml @@ -5,34 +5,32 @@ name = "tokio-sync" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-sync/0.1.5/tokio_sync" +documentation = "https://docs.rs/tokio-sync/0.2.0-alpha.1/tokio_sync" description = """ Synchronization utilities. """ categories = ["asynchronous"] -publish = false [features] async-traits = ["futures-sink-preview"] [dependencies] fnv = "1.0.6" -futures-core-preview = { version = "= 0.3.0-alpha.17" } -futures-sink-preview = { version = "= 0.3.0-alpha.17", optional = true } -futures-util-preview = { version = "= 0.3.0-alpha.17" } +futures-core-preview = { version = "=0.3.0-alpha.17" } +futures-sink-preview = { version = "=0.3.0-alpha.17", optional = true } +futures-util-preview = { version = "=0.3.0-alpha.17" } [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + env_logger = { version = "0.5", default-features = false } -pin-utils = "0.1.0-alpha.4" -tokio = { version = "*", path = "../tokio" } -tokio-test = { version = "0.2.0", path = "../tokio-test" } loom = { version = "0.2.0", features = ["futures"] } diff --git a/tokio-sync/README.md b/tokio-sync/README.md index a35d5bc8e..6e209f69a 100644 --- a/tokio-sync/README.md +++ b/tokio-sync/README.md @@ -2,12 +2,6 @@ Synchronization utilities -[Documentation](https://docs.rs/tokio-sync/0.1.6/tokio_sync/) - -## Overview - -This crate provides synchronization utilities for usage with Tokio. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-sync/src/lib.rs b/tokio-sync/src/lib.rs index 9019abfa5..a84a47891 100644 --- a/tokio-sync/src/lib.rs +++ b/tokio-sync/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-sync/0.1.5")] +#![doc(html_root_url = "https://docs.rs/tokio-sync/0.2.0-alpha.1")] #![deny( missing_debug_implementations, missing_docs, diff --git a/tokio-sync/tests/mpsc.rs b/tokio-sync/tests/mpsc.rs index d683a5f82..e18464a80 100644 --- a/tokio-sync/tests/mpsc.rs +++ b/tokio-sync/tests/mpsc.rs @@ -58,7 +58,7 @@ async fn async_send_recv_with_buffer() { fn send_sink_recv_with_buffer() { use futures_core::Stream; use futures_sink::Sink; - use pin_utils::pin_mut; + use futures_util::pin_mut; let mut t1 = MockTask::new(); @@ -171,7 +171,7 @@ async fn async_send_recv_unbounded() { fn sink_send_recv_unbounded() { use futures_core::Stream; use futures_sink::Sink; - use pin_utils::pin_mut; + use futures_util::pin_mut; let mut t1 = MockTask::new(); diff --git a/tokio-tcp/CHANGELOG.md b/tokio-tcp/CHANGELOG.md index 3e416d527..7621ca6eb 100644 --- a/tokio-tcp/CHANGELOG.md +++ b/tokio-tcp/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.3 (January 6, 2019) * Deprecate `TcpStream::try_clone()` (#824). diff --git a/tokio-tcp/Cargo.toml b/tokio-tcp/Cargo.toml index af9208fd5..9a7d65936 100644 --- a/tokio-tcp/Cargo.toml +++ b/tokio-tcp/Cargo.toml @@ -5,38 +5,34 @@ name = "tokio-tcp" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-tcp/0.1.3/tokio_tcp" +documentation = "https://docs.rs/tokio-tcp/0.2.0-alpha.1/tokio_tcp" description = """ TCP bindings for tokio. """ categories = ["asynchronous"] -publish = false [features] async-traits = [] [dependencies] -futures-util-preview = "= 0.3.0-alpha.17" -tokio-io = { version = "0.2.0", path = "../tokio-io" } -tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } +tokio-reactor = { version = "=0.2.0-alpha.1", path = "../tokio-reactor" } + +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" bytes = "0.4" mio = "0.6.14" iovec = "0.1" -# optionals -futures-core-preview = { version = "0.3.0-alpha.17" } [dev-dependencies] -#env_logger = { version = "0.5", default-features = false } -#net2 = "*" -tokio = { version = "0.2.0", path = "../tokio" } -tokio-test = { version = "0.2.0", path = "../tokio-test" } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } diff --git a/tokio-tcp/README.md b/tokio-tcp/README.md index b211630f9..dd2c78f2a 100644 --- a/tokio-tcp/README.md +++ b/tokio-tcp/README.md @@ -2,8 +2,6 @@ TCP bindings for `tokio`. -[Documentation](https://docs.rs/tokio-tcp/0.1.3/tokio_tcp) - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-tcp/src/lib.rs b/tokio-tcp/src/lib.rs index cddaaa95a..b89cfc2fb 100644 --- a/tokio-tcp/src/lib.rs +++ b/tokio-tcp/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.1.3")] +#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-test/CHANGELOG.md b/tokio-test/CHANGELOG.md index 8b1378917..de9a8f196 100644 --- a/tokio-test/CHANGELOG.md +++ b/tokio-test/CHANGELOG.md @@ -1 +1,3 @@ +# 0.2.0-alpha.1 (August 8, 2019) +- Initial release diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 1ebbf94f5..fb9bb92f7 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -5,30 +5,30 @@ name = "tokio-test" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-test/0.1.0/tokio_test" +documentation = "https://docs.rs/tokio-test/0.2.0-alpha.1/tokio_test" description = """ Testing utilities for Tokio- and futures-based code """ categories = ["asynchronous", "testing"] -publish = false [dependencies] -pin-convert = "0.1.0" -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } -tokio-io = { version = "0.2.0", path = "../tokio-io" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } -tokio-timer = { version = "0.3.0", path = "../tokio-timer" } +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } +tokio-timer = { version = "=0.3.0-alpha.1", path = "../tokio-timer" } + futures-core-preview = "=0.3.0-alpha.17" +pin-convert = "0.1.0" [dev-dependencies] -tokio = { path = "../tokio" } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } + futures-util-preview = "=0.3.0-alpha.17" diff --git a/tokio-test/README.md b/tokio-test/README.md index 7e58074b6..64174d96b 100644 --- a/tokio-test/README.md +++ b/tokio-test/README.md @@ -2,28 +2,6 @@ Tokio and Futures based testing utilities -[Documenation](https://docs.rs/tokio-test) - -## Usage - -First, add this to your `Cargo.toml`: - -```toml -[dev-dependencies] -tokio-test = "0.1.0" -``` - -Next, add this to your crate: - -```rust -#[macro_use] -``` - -You can find extensive documentation and examples about how to use this crate -online at [https://tokio.rs](https://tokio.rs). The [API -documentation](https://docs.rs/tokio-test) is also a great place to get started -for the nitty-gritty. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-test/src/lib.rs b/tokio-test/src/lib.rs index d28d19141..a24277aaa 100644 --- a/tokio-test/src/lib.rs +++ b/tokio-test/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-test/0.1.0")] +#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.1")] #![deny( missing_docs, missing_debug_implementations, diff --git a/tokio-threadpool/CHANGELOG.md b/tokio-threadpool/CHANGELOG.md index 294eded75..c399db7c3 100644 --- a/tokio-threadpool/CHANGELOG.md +++ b/tokio-threadpool/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.1.14 (April 22, 2019) ### Added diff --git a/tokio-threadpool/Cargo.toml b/tokio-threadpool/Cargo.toml index ddaccf5c7..8934f7d9d 100644 --- a/tokio-threadpool/Cargo.toml +++ b/tokio-threadpool/Cargo.toml @@ -8,25 +8,24 @@ name = "tokio-threadpool" # - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -documentation = "https://docs.rs/tokio-threadpool/0.1.14/tokio_threadpool" +documentation = "https://docs.rs/tokio-threadpool/0.2.0-alpha.1/tokio_threadpool" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" license = "MIT" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] description = """ A task scheduler backed by a work-stealing thread pool. """ keywords = ["futures", "tokio"] categories = ["concurrency", "asynchronous"] -publish = false [dependencies] -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } -futures-core-preview = "= 0.3.0-alpha.17" -futures-util-preview = "= 0.3.0-alpha.17" +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" crossbeam-deque = "0.7.0" crossbeam-queue = "0.1.0" @@ -37,7 +36,8 @@ log = "0.4" lazy_static = "1" [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + rand = "0.7" env_logger = "0.5" -tokio = { version = "0.2.0", path = "../tokio" } -tokio-test = { version = "0.2.0", path = "../tokio-test" } diff --git a/tokio-threadpool/README.md b/tokio-threadpool/README.md index f122403a7..31f658a1f 100644 --- a/tokio-threadpool/README.md +++ b/tokio-threadpool/README.md @@ -3,8 +3,6 @@ A library for scheduling execution of futures concurrently across a pool of threads. -[Documentation](https://docs.rs/tokio-threadpool/0.1.14/tokio_threadpool) - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-threadpool/src/lib.rs b/tokio-threadpool/src/lib.rs index 888dbe8c4..ad0ae7571 100644 --- a/tokio-threadpool/src/lib.rs +++ b/tokio-threadpool/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.1.14")] +#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-timer/CHANGELOG.md b/tokio-timer/CHANGELOG.md index ca5d10694..5349ed05b 100644 --- a/tokio-timer/CHANGELOG.md +++ b/tokio-timer/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.3.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.2.11 (May 14, 2019) ### Added diff --git a/tokio-timer/Cargo.toml b/tokio-timer/Cargo.toml index 3fb3cbd2b..e18ec6830 100644 --- a/tokio-timer/Cargo.toml +++ b/tokio-timer/Cargo.toml @@ -8,27 +8,27 @@ name = "tokio-timer" # - README.md # - Update CHANGELOG.md. # - Create "v0.3.x" git tag. -version = "0.3.0" +version = "0.3.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio-timer/0.2.11/tokio_timer" +documentation = "https://docs.rs/tokio-timer/0.3.0-alpha.1/tokio_timer" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" description = """ Timer facilities for Tokio """ -publish = false [features] async-traits = [] [dependencies] -tokio-executor = { version = "0.2.0", path = "../tokio-executor" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync" } -futures-core-preview = "0.3.0-alpha.17" -futures-util-preview = "0.3.0-alpha.17" +tokio-executor = { version = "=0.2.0-alpha.1", path = "../tokio-executor" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync" } + +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" crossbeam-utils = "0.6.0" # Backs `DelayQueue` @@ -36,8 +36,9 @@ slab = "0.4.1" # optionals [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-current-thread = { version = "=0.2.0-alpha.1", path = "../tokio-current-thread" } +tokio-sync = { version = "=0.2.0-alpha.1", path = "../tokio-sync", features = ["async-traits"] } +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + rand = "0.7" -tokio = { version = "0.2.0", path = "../tokio" } -tokio-current-thread = { version = "0.2.0", path = "../tokio-current-thread" } -tokio-sync = { version = "0.2.0", path = "../tokio-sync", features = ["async-traits"] } -tokio-test = { version = "0.2.0", path = "../tokio-test" } diff --git a/tokio-timer/README.md b/tokio-timer/README.md index b4908eedd..d3f07640c 100644 --- a/tokio-timer/README.md +++ b/tokio-timer/README.md @@ -2,12 +2,6 @@ Timer facilities for Tokio -[Documentation](https://docs.rs/tokio-timer/0.2.11/tokio_timer/) - -## Overview - -This crate provides timer facilities for usage with Tokio. - ## License This project is licensed under the [MIT license](LICENSE). diff --git a/tokio-timer/src/lib.rs b/tokio-timer/src/lib.rs index 52e7e6c6c..2ed1338e8 100644 --- a/tokio-timer/src/lib.rs +++ b/tokio-timer/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-timer/0.2.10")] +#![doc(html_root_url = "https://docs.rs/tokio-timer/0.3.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-tls/CHANGELOG.md b/tokio-tls/CHANGELOG.md index 60c54fc79..478237e1f 100644 --- a/tokio-tls/CHANGELOG.md +++ b/tokio-tls/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.3.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.2.1 (January 6, 2019) * Implement `Clone` for `TlsConnector` and `TlsAcceptor` (#777) diff --git a/tokio-tls/Cargo.toml b/tokio-tls/Cargo.toml index 56fb1cc0b..3d4552c0b 100644 --- a/tokio-tls/Cargo.toml +++ b/tokio-tls/Cargo.toml @@ -8,33 +8,33 @@ name = "tokio-tls" # - README.md # - Update CHANGELOG.md. # - Create "v0.3.x" git tag. -version = "0.3.0" +version = "0.3.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-tls/0.2.1/tokio_tls/" +documentation = "https://docs.rs/tokio-tls/0.3.0-alpha.1/tokio_tls/" description = """ An implementation of TLS/SSL streams for Tokio giving an implementation of TLS for nonblocking I/O streams. """ categories = ["asynchronous", "network-programming"] -publish = false [badges] travis-ci = { repository = "tokio-rs/tokio-tls" } [dependencies] native-tls = "0.2" -tokio-io = { version = "0.2.0", path = "../tokio-io" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio" } -tokio-tcp = { version = "0.2.0", path = "../tokio-tcp", features = ["async-traits"] } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } +tokio-tcp = { version = "=0.2.0-alpha.1", path = "../tokio-tcp", features = ["async-traits"] } + cfg-if = "0.1" env_logger = { version = "0.5", default-features = false } -futures-preview = { version = "0.3.0-alpha.17", features = ["async-await", "nightly"] } +futures-preview = { version = "=0.3.0-alpha.17", features = ["async-await", "nightly"] } [target.'cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))'.dev-dependencies] openssl = "0.10" diff --git a/tokio-tls/README.md b/tokio-tls/README.md index f033ae1bf..455612be8 100644 --- a/tokio-tls/README.md +++ b/tokio-tls/README.md @@ -3,43 +3,6 @@ An implementation of TLS/SSL streams for Tokio built on top of the [`native-tls` crate] -[Documentation](https://docs.rs/tokio-tls/0.2.1/tokio_tls/) - -[`native-tls` crate]: https://github.com/sfackler/rust-native-tls - -## Usage - -First, add this to your `Cargo.toml`: - -```toml -[dependencies] -native-tls = "0.2" -tokio-tls = "0.2" -``` - -Next, add this to your crate: - -```rust -use tokio_tls::{TlsConnector, TlsAcceptor}; -``` - -You can find few examples how to use this crate in examples directory (using TLS in -hyper server or client). - -By default the `native-tls` crate currently uses the "platform appropriate" -backend for a TLS implementation. This means: - -* On Windows, [SChannel] is used -* On OSX, [SecureTransport] is used -* Everywhere else, [OpenSSL] is used - -[SChannel]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa380123%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396 -[SecureTransport]: https://developer.apple.com/reference/security/1654508-secure_transport -[OpenSSL]: https://www.openssl.org/ - -Typically these selections mean that you don't have to worry about a portability -when using TLS, these libraries are all normally installed by default. - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-tls/src/lib.rs b/tokio-tls/src/lib.rs index b16f04736..80c27f3ec 100644 --- a/tokio-tls/src/lib.rs +++ b/tokio-tls/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-tls/0.2.1")] +#![doc(html_root_url = "https://docs.rs/tokio-tls/0.3.0-alpha.1")] #![deny(rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-udp/Cargo.toml b/tokio-udp/Cargo.toml index 2c54cf887..8b8bdc3c6 100644 --- a/tokio-udp/Cargo.toml +++ b/tokio-udp/Cargo.toml @@ -5,32 +5,29 @@ name = "tokio-udp" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" -documentation = "https://docs.rs/tokio-udp/0.1.3/tokio_udp" +documentation = "https://docs.rs/tokio-udp/0.2.0-alpha.1/tokio_udp" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ UDP bindings for tokio. """ categories = ["asynchronous"] -publish = false [dependencies] -# tokio-codec = { version = "0.2.0", path = "../tokio-codec" } -# tokio-io = { version = "0.2.0", path = "../tokio-io" } -tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" } -# bytes = "0.4" +tokio-reactor = { version = "=0.2.0-alpha.1", path = "../tokio-reactor" } + mio = "0.6.14" log = "0.4" -futures-core-preview = "= 0.3.0-alpha.17" -futures-util-preview = "= 0.3.0-alpha.17" +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" [dev-dependencies] +tokio = { version = "=0.2.0-alpha.1", path = "../tokio", default-features = false, features = ["rt-full"] } + env_logger = { version = "0.5", default-features = false } -tokio = { version = "0.2.0", path = "../tokio", default-features = false, features = ["rt-full"] } diff --git a/tokio-udp/README.md b/tokio-udp/README.md index 02ea251f7..367485c6e 100644 --- a/tokio-udp/README.md +++ b/tokio-udp/README.md @@ -2,8 +2,6 @@ UDP bindings for `tokio`. -[Documentation](https://docs.rs/tokio-udp/0.1.3/tokio_udp/) - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-udp/src/lib.rs b/tokio-udp/src/lib.rs index a531f2f12..91b03f016 100644 --- a/tokio-udp/src/lib.rs +++ b/tokio-udp/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.1.3")] +#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio-uds/CHANGELOG.md b/tokio-uds/CHANGELOG.md index fcf798cad..45f81888f 100644 --- a/tokio-uds/CHANGELOG.md +++ b/tokio-uds/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.0-alpha.1 (August 8, 2019) + +### Changed +- Switch to `async`, `await`, and `std::future`. + # 0.2.5 (January 6, 2019) * Fix bug in `UnixDatagram::send` (#782). diff --git a/tokio-uds/Cargo.toml b/tokio-uds/Cargo.toml index 9ac6bbb69..47db88556 100644 --- a/tokio-uds/Cargo.toml +++ b/tokio-uds/Cargo.toml @@ -5,40 +5,39 @@ name = "tokio-uds" # - Update html_root_url. # - Update doc url # - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.3.x" git tag. -version = "0.3.0" +version = "0.3.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://github.com/tokio-rs/tokio" -documentation = "https://docs.rs/tokio-uds/0.2.5/tokio_uds/" +documentation = "https://docs.rs/tokio-uds/0.3.0-alpha.1/tokio_uds/" description = """ Unix Domain sockets for Tokio """ categories = ["asynchronous"] -publish = false [features] async-traits = [] [dependencies] +tokio-codec = { version = "=0.2.0-alpha.1", path = "../tokio-codec" } +tokio-reactor = { version = "=0.2.0-alpha.1", path = "../tokio-reactor" } +tokio-io = { version = "=0.2.0-alpha.1", path = "../tokio-io" } + bytes = "0.4.8" mio = "0.6.14" mio-uds = "0.6.5" -tokio-codec = { version = "0.2.0", path = "../tokio-codec" } -tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" } -tokio-io = { version = "0.2.0", path = "../tokio-io" } - -futures-core-preview = { version = "= 0.3.0-alpha.17" } -futures-util-preview = { version = "= 0.3.0-alpha.17" } +futures-core-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" iovec = "0.1.2" libc = "0.2.42" log = "0.4.2" [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio" } +tokio = { version = "=0.2.0-alpha.1", path = "../tokio" } + tempfile = "3" -futures-preview = "0.3.0-alpha.17" +futures-preview = "=0.3.0-alpha.17" diff --git a/tokio-uds/README.md b/tokio-uds/README.md index 1c6a80c04..ce043da9b 100644 --- a/tokio-uds/README.md +++ b/tokio-uds/README.md @@ -2,8 +2,6 @@ An implementation of Unix Domain Sockets for Tokio -[Documentation](https://docs.rs/tokio-uds/0.2.5/tokio_uds/) - ## License This project is licensed under the [MIT license](./LICENSE). diff --git a/tokio-uds/src/lib.rs b/tokio-uds/src/lib.rs index 4c74952f5..1b0c211a3 100644 --- a/tokio-uds/src/lib.rs +++ b/tokio-uds/src/lib.rs @@ -1,5 +1,5 @@ #![cfg(unix)] -#![doc(html_root_url = "https://docs.rs/tokio-uds/0.2.5")] +#![doc(html_root_url = "https://docs.rs/tokio-uds/0.3.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 509d23eae..78b2677ef 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,6 +1,10 @@ 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.2.0-alpha.1 (August 8, 2019) + +- Switch to `async`, `await`, and `std::future`. + # 0.1.21 (May 30, 2019) ### Changed diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index c3e596607..df18f4fef 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.0" +version = "0.2.0-alpha.1" edition = "2018" -authors = ["Carl Lerche "] +authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.1.22/tokio/" +documentation = "https://docs.rs/tokio/0.2.0-alpha.1/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ @@ -22,7 +22,6 @@ backed applications. """ categories = ["asynchronous", "network-programming"] keywords = ["io", "async", "non-blocking", "futures"] -publish = false [features] default = [ @@ -59,39 +58,38 @@ udp = ["tokio-udp"] uds = ["tokio-uds"] [dependencies] -# Only non-optional dependency... -#futures = "0.1.20" -futures-core-preview = "= 0.3.0-alpha.17" -futures-sink-preview = "= 0.3.0-alpha.17" -futures-util-preview = { version = "= 0.3.0-alpha.17", features = ["sink"] } +futures-core-preview = "=0.3.0-alpha.17" +futures-sink-preview = "=0.3.0-alpha.17" +futures-util-preview = { version = "=0.3.0-alpha.17", features = ["sink"] } # Everything else is optional... bytes = { version = "0.4", optional = true } num_cpus = { version = "1.8.0", optional = true } -tokio-codec = { version = "0.2.0", optional = true, path = "../tokio-codec" } -tokio-current-thread = { version = "0.2.0", optional = true, path = "../tokio-current-thread" } -tokio-fs = { version = "0.2.0", optional = true, path = "../tokio-fs" } -tokio-io = { version = "0.2.0", optional = true, features = ["util"], path = "../tokio-io" } -tokio-executor = { version = "0.2.0", optional = true, path = "../tokio-executor" } -tokio-macros = { version = "0.2.0", optional = true, path = "../tokio-macros" } -tokio-reactor = { version = "0.2.0", optional = true, path = "../tokio-reactor" } -tokio-sync = { version = "0.2.0", optional = true, path = "../tokio-sync", features = ["async-traits"] } -tokio-threadpool = { version = "0.2.0", optional = true, path = "../tokio-threadpool" } -tokio-tcp = { version = "0.2.0", optional = true, path = "../tokio-tcp", features = ["async-traits"] } -tokio-udp = { version = "0.2.0", optional = true, path = "../tokio-udp" } -tokio-timer = { version = "0.3.0", optional = true, path = "../tokio-timer", features = ["async-traits"] } +tokio-codec = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-codec" } +tokio-current-thread = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-current-thread" } +tokio-fs = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-fs" } +tokio-io = { version = "=0.2.0-alpha.1", optional = true, features = ["util"], path = "../tokio-io" } +tokio-executor = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-executor" } +tokio-macros = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-macros" } +tokio-reactor = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-reactor" } +tokio-sync = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-sync", features = ["async-traits"] } +tokio-threadpool = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-threadpool" } +tokio-tcp = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-tcp", features = ["async-traits"] } +tokio-udp = { version = "=0.2.0-alpha.1", optional = true, path = "../tokio-udp" } +tokio-timer = { version = "=0.3.0-alpha.1", optional = true, path = "../tokio-timer", features = ["async-traits"] } tracing-core = { version = "0.1", optional = true } [target.'cfg(unix)'.dependencies] -tokio-uds = { version = "0.3.0", optional = true, path = "../tokio-uds", features = ["async-traits"] } +tokio-uds = { version = "=0.3.0-alpha.1", optional = true, path = "../tokio-uds", features = ["async-traits"] } [dev-dependencies] -futures-preview = "0.3.0-alpha.17" -tokio-test = { path = "../tokio-test" } -pin-utils = "0.1.0-alpha.4" +tokio-test = { version = "=0.2.0-alpha.1", path = "../tokio-test" } + +futures-preview = "=0.3.0-alpha.17" +futures-util-preview = "=0.3.0-alpha.17" +pin-utils = "=0.1.0-alpha.4" env_logger = { version = "0.5", default-features = false } flate2 = { version = "1", features = ["tokio"] } -futures-cpupool = "0.1" http = "0.1" httparse = "1.0" libc = "0.2" @@ -99,4 +97,3 @@ num_cpus = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" time = "0.1" -futures-util-preview = "0.3.0-alpha.17" diff --git a/tokio/README.md b/tokio/README.md index 4e0b8d759..8cf2cd94a 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -28,7 +28,7 @@ the Rust programming language. It is: [Website](https://tokio.rs) | [Guides](https://tokio.rs/docs/) | -[API Docs](https://docs.rs/tokio/0.1.22/tokio) | +[API Docs](https://docs.rs/tokio/0.2.0-alpha.1/tokio) | [Chat](https://gitter.im/tokio-rs/tokio) ## Overview @@ -45,9 +45,9 @@ level, it provides a few major components: These components provide the runtime components necessary for building an asynchronous application. -[net]: https://docs.rs/tokio/0.1.22/tokio/net/index.html -[reactor]: https://docs.rs/tokio/0.1.22/tokio/reactor/index.html -[scheduler]: https://docs.rs/tokio/0.1.22/tokio/runtime/index.html +[net]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/net/index.html +[reactor]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/reactor/index.html +[scheduler]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/runtime/index.html ## Example diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 06cbe9609..feab009ce 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.1.22")] +#![doc(html_root_url = "https://docs.rs/tokio/0.2.0-alpha.1")] #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]