Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare v0.2.2 release #1857

Merged
merged 6 commits into from Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/azure-loom.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
rust_version: ${{ parameters.rust }}

- ${{ each crate in parameters.crates }}:
- script: RUSTFLAGS="--cfg loom" cargo test --lib --release -- --test-threads=1 --nocapture
- script: RUSTFLAGS="--cfg loom" cargo test --lib --release --features "full" -- --test-threads=1 --nocapture
env:
LOOM_MAX_PREEMPTIONS: 1
CI: 'True'
Expand Down
17 changes: 17 additions & 0 deletions tokio/CHANGELOG.md
@@ -1,3 +1,20 @@
# 0.2.2 (November 29, 2019)

### Fixes
- scheduling with `basic_scheduler` (#1861).
- update `spawn` panic message to specify that a task scheduler is required (#1839).
- API docs example for `runtime::Builder` to include a task scheduler (#1841).
- general documentation (#1834).
- building on illumos/solaris (#1772).
- panic when dropping `LocalSet` (#1843).
- API docs mention the required Cargo features for `Builder::{basic, threaded}_scheduler` (#1858).

### Added
- impl `Stream` for `signal::unix::Signal` (#1849).
- API docs for platform specific behavior of `signal::ctrl_c` and `signal::unix::Signal` (#1854).
- API docs for `signal::unix::Signal::{recv, poll_recv}` and `signal::windows::CtrlBreak::{recv, poll_recv}` (#1854).
- `File::into_std` and `File::try_into_std` methods (#1856).

# 0.2.1 (November 26, 2019)

### Fixes
Expand Down
8 changes: 4 additions & 4 deletions tokio/Cargo.toml
Expand Up @@ -8,12 +8,12 @@ name = "tokio"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag.
version = "0.2.1"
version = "0.2.2"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/tokio/0.2.1/tokio/"
documentation = "https://docs.rs/tokio/0.2.2/tokio/"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
Expand Down Expand Up @@ -92,7 +92,7 @@ uds = ["io-driver", "mio-uds", "libc"]


[dependencies]
tokio-macros = { version = "0.2.0", optional = true, path = "../tokio-macros" }
tokio-macros = { version = "0.2.0", optional = true }

bytes = "0.5.0"
pin-project-lite = "0.1.1"
Expand Down Expand Up @@ -121,7 +121,7 @@ default-features = false
optional = true

[dev-dependencies]
tokio-test = { version = "0.2.0", path = "../tokio-test" }
tokio-test = { version = "0.2.0" }
futures = { version = "0.3.0", features = ["async-await"] }
loom = { version = "0.2.13", features = ["futures", "checkpoint"] }
proptest = "0.9.4"
Expand Down
2 changes: 1 addition & 1 deletion tokio/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio/0.2.1")]
#![doc(html_root_url = "https://docs.rs/tokio/0.2.2")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down