Skip to content

Commit

Permalink
Merge 'tokio-1.20.5' into 'tokio-1.25.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed May 27, 2023
2 parents 70a3fce + edd172c commit 5435624
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tokio-util/tests/time_delay_queue.rs
Expand Up @@ -257,6 +257,10 @@ async fn reset_twice() {
#[tokio::test]
async fn repeatedly_reset_entry_inserted_as_expired() {
time::pause();

// Instants before the start of the test seem to break in wasm.
time::sleep(ms(1000)).await;

let mut queue = task::spawn(DelayQueue::new());
let now = Instant::now();

Expand Down Expand Up @@ -556,6 +560,10 @@ async fn reset_later_after_slot_starts() {
#[tokio::test]
async fn reset_inserted_expired() {
time::pause();

// Instants before the start of the test seem to break in wasm.
time::sleep(ms(1000)).await;

let mut queue = task::spawn(DelayQueue::new());
let now = Instant::now();

Expand Down
18 changes: 18 additions & 0 deletions tokio/CHANGELOG.md
Expand Up @@ -334,6 +334,16 @@ wasm32-wasi target is given unstable support for the `net` feature.
[#4956]: https://github.com/tokio-rs/tokio/pull/4956
[#4959]: https://github.com/tokio-rs/tokio/pull/4959

# 1.20.5 (May 28, 2023)

Forward ports 1.18.6 changes.

### Fixed

- deps: disable default features for mio ([#5728])

[#5728]: https://github.com/tokio-rs/tokio/pull/5728

# 1.20.4 (January 17, 2023)

Forward ports 1.18.5 changes.
Expand Down Expand Up @@ -480,6 +490,14 @@ This release fixes a bug in `Notified::enable`. ([#4747])
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
[#4739]: https://github.com/tokio-rs/tokio/pull/4739

# 1.18.6 (May 28, 2023)

### Fixed

- deps: disable default features for mio ([#5728])

[#5728]: https://github.com/tokio-rs/tokio/pull/5728

# 1.18.5 (January 17, 2023)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion tokio/Cargo.toml
Expand Up @@ -104,7 +104,7 @@ pin-project-lite = "0.2.0"
# Everything else is optional...
bytes = { version = "1.0.0", optional = true }
memchr = { version = "2.2", optional = true }
mio = { version = "0.8.4", optional = true }
mio = { version = "0.8.4", optional = true, default-features = false }
num_cpus = { version = "1.8.0", optional = true }
parking_lot = { version = "0.12.0", optional = true }

Expand Down

0 comments on commit 5435624

Please sign in to comment.