mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
Merge 'tokio-1.18.6' into 'tokio-1.20.x' (#5730)
This commit is contained in:
commit
9877fa2a97
10
.cirrus.yml
10
.cirrus.yml
@ -1,5 +1,7 @@
|
|||||||
|
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*')
|
||||||
|
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image: freebsd-12-3-release-amd64
|
image_family: freebsd-13-1
|
||||||
env:
|
env:
|
||||||
RUST_STABLE: 1.62.1
|
RUST_STABLE: 1.62.1
|
||||||
RUST_NIGHTLY: nightly-2022-03-21
|
RUST_NIGHTLY: nightly-2022-03-21
|
||||||
@ -12,7 +14,7 @@ env:
|
|||||||
task:
|
task:
|
||||||
name: FreeBSD 64-bit
|
name: FreeBSD 64-bit
|
||||||
setup_script:
|
setup_script:
|
||||||
- pkg install -y bash curl
|
- pkg install -y bash
|
||||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
|
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
|
||||||
- . $HOME/.cargo/env
|
- . $HOME/.cargo/env
|
||||||
@ -29,7 +31,7 @@ task:
|
|||||||
RUSTFLAGS: --cfg docsrs --cfg tokio_unstable
|
RUSTFLAGS: --cfg docsrs --cfg tokio_unstable
|
||||||
RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings
|
RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings
|
||||||
setup_script:
|
setup_script:
|
||||||
- pkg install -y bash curl
|
- pkg install -y bash
|
||||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
|
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
|
||||||
- . $HOME/.cargo/env
|
- . $HOME/.cargo/env
|
||||||
@ -43,7 +45,7 @@ task:
|
|||||||
task:
|
task:
|
||||||
name: FreeBSD 32-bit
|
name: FreeBSD 32-bit
|
||||||
setup_script:
|
setup_script:
|
||||||
- pkg install -y bash curl
|
- pkg install -y bash
|
||||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
|
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
|
||||||
- . $HOME/.cargo/env
|
- . $HOME/.cargo/env
|
||||||
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
|||||||
run: rustup update stable
|
run: rustup update stable
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack
|
||||||
run: cargo install cargo-hack
|
run: cargo install cargo-hack --version 0.5.26
|
||||||
|
|
||||||
# Run `tokio` with `full` features. This excludes testing utilities which
|
# Run `tokio` with `full` features. This excludes testing utilities which
|
||||||
# can alter the runtime behavior of Tokio.
|
# can alter the runtime behavior of Tokio.
|
||||||
@ -274,7 +274,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack
|
||||||
run: cargo install cargo-hack
|
run: cargo install cargo-hack --version 0.5.26
|
||||||
- name: check --each-feature
|
- name: check --each-feature
|
||||||
run: cargo hack check --all --each-feature -Z avoid-dev-deps
|
run: cargo hack check --all --each-feature -Z avoid-dev-deps
|
||||||
# Try with unstable feature flags
|
# Try with unstable feature flags
|
||||||
@ -310,7 +310,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack
|
||||||
run: cargo install cargo-hack
|
run: cargo install cargo-hack --version 0.5.26
|
||||||
- name: "check --all-features -Z minimal-versions"
|
- name: "check --all-features -Z minimal-versions"
|
||||||
run: |
|
run: |
|
||||||
# Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`
|
# Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`
|
||||||
|
32
Cargo.lock
generated
Normal file
32
Cargo.lock
generated
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "predicates"
|
||||||
|
version = "1.0.8"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df"
|
||||||
|
dependencies = [
|
||||||
|
"difference",
|
||||||
|
"float-cmp",
|
||||||
|
"normalize-line-endings",
|
||||||
|
"predicates-core",
|
||||||
|
"regex",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "predicates-core"
|
||||||
|
version = "1.0.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "predicates-tree"
|
||||||
|
version = "1.0.7"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d"
|
||||||
|
dependencies = [
|
||||||
|
"predicates-core",
|
||||||
|
"termtree",
|
||||||
|
]
|
@ -144,6 +144,14 @@ This release fixes a bug in `Notified::enable`. ([#4747])
|
|||||||
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
|
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
|
||||||
[#4739]: https://github.com/tokio-rs/tokio/pull/4739
|
[#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)
|
# 1.18.5 (January 17, 2023)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -109,7 +109,7 @@ pin-project-lite = "0.2.0"
|
|||||||
# Everything else is optional...
|
# Everything else is optional...
|
||||||
bytes = { version = "1.0.0", optional = true }
|
bytes = { version = "1.0.0", optional = true }
|
||||||
memchr = { version = "2.2", optional = true }
|
memchr = { version = "2.2", optional = true }
|
||||||
mio = { version = "0.8.1", optional = true }
|
mio = { version = "0.8.1", optional = true, default-features = false }
|
||||||
socket2 = { version = "0.4.4", optional = true, features = [ "all" ] }
|
socket2 = { version = "0.4.4", optional = true, features = [ "all" ] }
|
||||||
num_cpus = { version = "1.8.0", optional = true }
|
num_cpus = { version = "1.8.0", optional = true }
|
||||||
parking_lot = { version = "0.12.0", optional = true }
|
parking_lot = { version = "0.12.0", optional = true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user