mirror of
https://gitee.com/openharmony/third_party_rust_tokio
synced 2024-11-27 08:50:26 +00:00
chore: prepare for v0.2.0-alpha.1 release (#1410)
This commit is contained in:
parent
2e69f2a7fd
commit
50e5d401df
10
README.md
10
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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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 <me@carllerche.com>", "Bryan Burgers <bryan@burgers.io>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <team@tokio.rs>"]
|
||||
license = "MIT"
|
||||
authors = ["Carl Lerche <me@carllerche.com>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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` (#???)
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -1,4 +1,3 @@
|
||||
//use crate::AsyncRead;
|
||||
use bytes::Buf;
|
||||
use futures_core::ready;
|
||||
use std::io;
|
||||
|
@ -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))))]
|
||||
|
@ -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};
|
||||
|
@ -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 <team@tokio.rs>"]
|
||||
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"] }
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <team@tokio.rs>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))]
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"] }
|
||||
|
@ -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).
|
||||
|
@ -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,
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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).
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -1 +1,3 @@
|
||||
# 0.2.0-alpha.1 (August 8, 2019)
|
||||
|
||||
- Initial release
|
||||
|
@ -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 <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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" }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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)
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"] }
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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).
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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).
|
||||
|
@ -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))))]
|
||||
|
@ -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
|
||||
|
@ -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 <me@carllerche.com>"]
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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))))]
|
||||
|
Loading…
Reference in New Issue
Block a user