From 467b6ea78364515e1472338cce70ef029e9bbb38 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Fri, 29 Nov 2019 11:09:28 -0800 Subject: [PATCH] chore: prepare v0.2.2 release (#1857) --- ci/azure-loom.yml | 2 +- tokio/CHANGELOG.md | 17 +++++++++++++++++ tokio/Cargo.toml | 8 ++++---- tokio/src/lib.rs | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/ci/azure-loom.yml b/ci/azure-loom.yml index 6bc30535763..fdfb8670563 100644 --- a/ci/azure-loom.yml +++ b/ci/azure-loom.yml @@ -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' diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 944b9d5100d..389a764d0c0 100644 --- a/tokio/CHANGELOG.md +++ b/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 diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 065c971cd9d..918b3550d18 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.1" +version = "0.2.2" edition = "2018" authors = ["Tokio Contributors "] 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 = """ @@ -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" @@ -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" diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 3b8e37bf454..9c561d771b1 100644 --- a/tokio/src/lib.rs +++ b/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,