mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
chore: prepare v0.2.0 release (#1822)
This commit is contained in:
parent
4ddc437170
commit
a81e2722a4
@ -5,10 +5,10 @@ publish = false
|
||||
edition = "2018"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
|
||||
tokio-util = { version = "=0.2.0-alpha.6", path = "../tokio-util", features = ["full"] }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
||||
tokio-util = { version = "0.2.0", path = "../tokio-util", features = ["full"] }
|
||||
|
||||
bytes = { git = "https://github.com/tokio-rs/bytes" }
|
||||
bytes = "0.5.0"
|
||||
futures = "0.3.0"
|
||||
|
||||
[[example]]
|
||||
|
3
tokio-macros/CHANGELOG.md
Normal file
3
tokio-macros/CHANGELOG.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 0.2.0 (November 26, 2019)
|
||||
|
||||
- Initial release
|
@ -7,13 +7,13 @@ name = "tokio-macros"
|
||||
# - Cargo.toml
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.1.x" git tag.
|
||||
version = "0.2.0-alpha.6"
|
||||
version = "0.2.0"
|
||||
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-macros/0.2.0-alpha.6/tokio_macros"
|
||||
documentation = "https://docs.rs/tokio-macros/0.2.0/tokio_macros"
|
||||
description = """
|
||||
Tokio's proc macros.
|
||||
"""
|
||||
@ -29,7 +29,7 @@ quote = "1"
|
||||
syn = { version = "1.0.3", features = ["full"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.0-alpha.6")]
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.0")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
@ -1,26 +1,3 @@
|
||||
# 0.2.0-alpha.6 (September 30, 2019)
|
||||
|
||||
- Move to `futures-*-preview 0.3.0-alpha.19`
|
||||
- Move to `pin-project 0.4`
|
||||
|
||||
# 0.2.0-alpha.5 (September 19, 2019)
|
||||
|
||||
- Track tokio release.
|
||||
|
||||
# 0.2.0-alpha.4 (August 29, 2019)
|
||||
|
||||
- Track tokio release.
|
||||
|
||||
# 0.2.0-alpha.3 (August 28, 2019)
|
||||
|
||||
### Changed
|
||||
- track changes to `tokio-timer` (#1471).
|
||||
|
||||
# 0.2.0-alpha.2 (August 17, 2019)
|
||||
|
||||
### Changed
|
||||
- Update `futures` dependency to 0.3.0-alpha.18.
|
||||
|
||||
# 0.2.0-alpha.1 (August 8, 2019)
|
||||
# 0.2.0 (November 25, 2019)
|
||||
|
||||
- Initial release
|
||||
|
@ -7,26 +7,26 @@ name = "tokio-test"
|
||||
# - Cargo.toml
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.2.x" git tag.
|
||||
version = "0.2.0-alpha.6"
|
||||
version = "0.2.0"
|
||||
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.2.0-alpha.6/tokio_test"
|
||||
documentation = "https://docs.rs/tokio-test/0.2.0/tokio_test"
|
||||
description = """
|
||||
Testing utilities for Tokio- and futures-based code
|
||||
"""
|
||||
categories = ["asynchronous", "testing"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["rt-core", "sync", "time", "test-util"] }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["rt-core", "sync", "time", "test-util"] }
|
||||
|
||||
bytes = { git = "https://github.com/tokio-rs/bytes" }
|
||||
bytes = "0.5.0"
|
||||
futures-core = "0.3.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
||||
futures-util = "0.3.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.6")]
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
@ -1,3 +1,7 @@
|
||||
# 0.3.0 (November 26, 2019)
|
||||
|
||||
- Updates for tokio 0.2 release
|
||||
|
||||
# 0.3.0-alpha.6 (September 30, 2019)
|
||||
|
||||
- Move to `futures-*-preview 0.3.0-alpha.19`
|
||||
|
@ -8,7 +8,7 @@ name = "tokio-tls"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.3.x" git tag.
|
||||
version = "0.3.0-alpha.6"
|
||||
version = "0.3.0"
|
||||
edition = "2018"
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
license = "MIT"
|
||||
@ -26,10 +26,10 @@ travis-ci = { repository = "tokio-rs/tokio-tls" }
|
||||
|
||||
[dependencies]
|
||||
native-tls = "0.2"
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
|
||||
tokio = { version = "0.2.0", path = "../tokio" }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["macros", "stream", "rt-core", "io-util", "net"] }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["macros", "stream", "rt-core", "io-util", "net"] }
|
||||
|
||||
cfg-if = "0.1"
|
||||
env_logger = { version = "0.6", default-features = false }
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-tls/0.3.0-alpha.6")]
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-tls/0.3.0")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
@ -0,0 +1,3 @@
|
||||
# 0.2.0 (November 26, 2019)
|
||||
|
||||
- Initial release
|
@ -7,13 +7,13 @@ name = "tokio-util"
|
||||
# - Cargo.toml
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.2.x" git tag.
|
||||
version = "0.2.0-alpha.6"
|
||||
version = "0.2.0"
|
||||
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-util/0.2.0-alpha.6/tokio_util"
|
||||
documentation = "https://docs.rs/tokio-util/0.2.0/tokio_util"
|
||||
description = """
|
||||
Additional utilities for working with Tokio.
|
||||
"""
|
||||
@ -30,17 +30,17 @@ codec = []
|
||||
udp = ["tokio/udp"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
|
||||
tokio = { version = "0.2.0", path = "../tokio" }
|
||||
|
||||
bytes = { git = "https://github.com/tokio-rs/bytes" }
|
||||
bytes = "0.5.0"
|
||||
futures-core = "0.3.0"
|
||||
futures-sink = "0.3.0"
|
||||
log = "0.4"
|
||||
pin-project-lite = "0.1.1"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
|
||||
tokio-test = { version = "=0.2.0-alpha.6", path = "../tokio-test" }
|
||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
||||
tokio-test = { version = "0.2.0", path = "../tokio-test" }
|
||||
|
||||
futures = "0.3.0"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-util/0.2.0-alpha.6")]
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-util/0.2.0")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
@ -1,46 +1,23 @@
|
||||
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 (November 26, 2019)
|
||||
|
||||
# 0.2.0-alpha.6 (September 30, 2019)
|
||||
|
||||
- Move to `futures-*-preview 0.3.0-alpha.19`
|
||||
- Move to `pin-project 0.4`
|
||||
|
||||
# 0.2.0-alpha.5 (September 19, 2019)
|
||||
A major breaking change. Most implementation and APIs have changed one way or
|
||||
another. This changelog entry contains a highlight
|
||||
|
||||
### Changed
|
||||
- rename `sleep` to `delay_for` (#1518).
|
||||
- rename `Lock` to `Mutex` and make it more like `std::sync::Mutex` (#1573).
|
||||
- APIs are updated to use `async / await`.
|
||||
- most `tokio-*` crates are collapsed into this crate.
|
||||
- Scheduler is rewritten.
|
||||
- `tokio::spawn` returns a `JoinHandle`.
|
||||
- A single I/O / timer is used per runtime.
|
||||
- I/O driver uses a concurrent slab for allocating state.
|
||||
- components are made available via feature flag.
|
||||
- Use `bytes` 0.5
|
||||
- `tokio::codec` is moved to `tokio-util`.
|
||||
|
||||
### Added
|
||||
- add generic `split` for `AsyncRead + AsyncWrite` (#1521).
|
||||
|
||||
# 0.2.0-alpha.4 (August 29, 2019)
|
||||
|
||||
- Track tokio-net release.
|
||||
|
||||
# 0.2.0-alpha.3 (August 28, 2019)
|
||||
|
||||
### Changed
|
||||
- `delay(...)` instead of `Delay::new(...)` (#1440).
|
||||
- use `tracing` instead of `log` (#1454).
|
||||
|
||||
### Added
|
||||
- re-export `tokio_net::signal::ctrl_c()` (#1491).
|
||||
|
||||
# 0.2.0-alpha.2 (August 17, 2019)
|
||||
|
||||
### Changed
|
||||
- Update `futures` dependency to 0.3.0-alpha.18.
|
||||
- Remove `reactor` module.
|
||||
|
||||
### Added
|
||||
- Add `BufReader` / `BufWriter` (#1438).
|
||||
- Update `UdpFramed` to `std::future` (#1370).
|
||||
|
||||
# 0.2.0-alpha.1 (August 8, 2019)
|
||||
|
||||
- Switch to `async`, `await`, and `std::future`.
|
||||
### Removed
|
||||
- Standalone `timer` and `net` drivers are removed, use `Runtime` instead
|
||||
- `current_thread` runtime is removed, use `tokio::runtime::Runtime` with
|
||||
`basic_scheduler` instead.
|
||||
|
||||
# 0.1.21 (May 30, 2019)
|
||||
|
||||
|
@ -8,12 +8,12 @@ name = "tokio"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.2.x" git tag.
|
||||
version = "0.2.0-alpha.6"
|
||||
version = "0.2.0"
|
||||
edition = "2018"
|
||||
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/tokio/0.2.0-alpha.6/tokio/"
|
||||
documentation = "https://docs.rs/tokio/0.2.0/tokio/"
|
||||
repository = "https://github.com/tokio-rs/tokio"
|
||||
homepage = "https://tokio.rs"
|
||||
description = """
|
||||
@ -90,9 +90,9 @@ uds = ["io-driver", "mio-uds", "libc"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
tokio-macros = { version = "=0.2.0-alpha.6", optional = true, path = "../tokio-macros" }
|
||||
tokio-macros = { version = "0.2.0", optional = true, path = "../tokio-macros" }
|
||||
|
||||
bytes = { git = "https://github.com/tokio-rs/bytes" }
|
||||
bytes = "0.5.0"
|
||||
pin-project-lite = "0.1.1"
|
||||
|
||||
# Everything else is optional...
|
||||
@ -119,7 +119,7 @@ default-features = false
|
||||
optional = true
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = { version = "=0.2.0-alpha.6", path = "../tokio-test" }
|
||||
tokio-test = { version = "0.2.0", path = "../tokio-test" }
|
||||
futures = { version = "0.3.0", features = ["async-await"] }
|
||||
loom = { version = "0.2.13", features = ["futures", "checkpoint"] }
|
||||
proptest = "0.9.4"
|
||||
|
@ -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.2.0-alpha.2/tokio) |
|
||||
[API Docs](https://docs.rs/tokio/0.2.0/tokio) |
|
||||
[Chat](https://gitter.im/tokio-rs/tokio)
|
||||
|
||||
## Overview
|
||||
@ -47,15 +47,15 @@ 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.2.0-alpha.2/tokio/net/index.html
|
||||
[scheduler]: https://docs.rs/tokio/0.2.0-alpha.2/tokio/runtime/index.html
|
||||
[net]: https://docs.rs/tokio/0.2.0/tokio/net/index.html
|
||||
[scheduler]: https://docs.rs/tokio/0.2.0/tokio/runtime/index.html
|
||||
|
||||
## Example
|
||||
|
||||
To get started, add the following to `Cargo.toml`.
|
||||
|
||||
```toml
|
||||
tokio = { version = "0.2.0", features = ["full"] }
|
||||
tokio = { version = "0.2", features = ["full"] }
|
||||
```
|
||||
|
||||
Tokio requires components to be explicitly enabled using feature flags. As a
|
||||
@ -116,7 +116,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.2.0-alpha.2/tokio
|
||||
[API documentation]: https://docs.rs/tokio/0.2
|
||||
[chat]: https://gitter.im/tokio-rs/tokio
|
||||
[issue]: https://github.com/tokio-rs/tokio/issues/new
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio/0.2.0-alpha.6")]
|
||||
#![doc(html_root_url = "https://docs.rs/tokio/0.2.0")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user