Skip to content

Commit 9877fa2

Browse files
committed
Merge 'tokio-1.18.6' into 'tokio-1.20.x' (#5730)
2 parents f3ce29a + 0f898a3 commit 9877fa2

File tree

5 files changed

+50
-8
lines changed

5 files changed

+50
-8
lines changed

.cirrus.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*')
2+
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
13
freebsd_instance:
2-
image: freebsd-12-3-release-amd64
4+
image_family: freebsd-13-1
35
env:
46
RUST_STABLE: 1.62.1
57
RUST_NIGHTLY: nightly-2022-03-21
@@ -12,7 +14,7 @@ env:
1214
task:
1315
name: FreeBSD 64-bit
1416
setup_script:
15-
- pkg install -y bash curl
17+
- pkg install -y bash
1618
- curl https://sh.rustup.rs -sSf --output rustup.sh
1719
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
1820
- . $HOME/.cargo/env
@@ -29,7 +31,7 @@ task:
2931
RUSTFLAGS: --cfg docsrs --cfg tokio_unstable
3032
RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings
3133
setup_script:
32-
- pkg install -y bash curl
34+
- pkg install -y bash
3335
- curl https://sh.rustup.rs -sSf --output rustup.sh
3436
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
3537
- . $HOME/.cargo/env
@@ -43,7 +45,7 @@ task:
4345
task:
4446
name: FreeBSD 32-bit
4547
setup_script:
46-
- pkg install -y bash curl
48+
- pkg install -y bash
4749
- curl https://sh.rustup.rs -sSf --output rustup.sh
4850
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
4951
- . $HOME/.cargo/env

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: rustup update stable
7272
- uses: Swatinem/rust-cache@v1
7373
- name: Install cargo-hack
74-
run: cargo install cargo-hack
74+
run: cargo install cargo-hack --version 0.5.26
7575

7676
# Run `tokio` with `full` features. This excludes testing utilities which
7777
# can alter the runtime behavior of Tokio.
@@ -274,7 +274,7 @@ jobs:
274274
override: true
275275
- uses: Swatinem/rust-cache@v1
276276
- name: Install cargo-hack
277-
run: cargo install cargo-hack
277+
run: cargo install cargo-hack --version 0.5.26
278278
- name: check --each-feature
279279
run: cargo hack check --all --each-feature -Z avoid-dev-deps
280280
# Try with unstable feature flags
@@ -310,7 +310,7 @@ jobs:
310310
override: true
311311
- uses: Swatinem/rust-cache@v1
312312
- name: Install cargo-hack
313-
run: cargo install cargo-hack
313+
run: cargo install cargo-hack --version 0.5.26
314314
- name: "check --all-features -Z minimal-versions"
315315
run: |
316316
# Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`

Cargo.lock

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tokio/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ This release fixes a bug in `Notified::enable`. ([#4747])
144144
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
145145
[#4739]: https://github.com/tokio-rs/tokio/pull/4739
146146

147+
# 1.18.6 (May 28, 2023)
148+
149+
### Fixed
150+
151+
- deps: disable default features for mio ([#5728])
152+
153+
[#5728]: https://github.com/tokio-rs/tokio/pull/5728
154+
147155
# 1.18.5 (January 17, 2023)
148156

149157
### Fixed

tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pin-project-lite = "0.2.0"
109109
# Everything else is optional...
110110
bytes = { version = "1.0.0", optional = true }
111111
memchr = { version = "2.2", optional = true }
112-
mio = { version = "0.8.1", optional = true }
112+
mio = { version = "0.8.1", optional = true, default-features = false }
113113
socket2 = { version = "0.4.4", optional = true, features = [ "all" ] }
114114
num_cpus = { version = "1.8.0", optional = true }
115115
parking_lot = { version = "0.12.0", optional = true }

0 commit comments

Comments
 (0)