diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5710354..0f04f09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,10 @@ jobs: - name: Install Rust run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} - run: rustup target add wasm32-unknown-unknown + - name: Install cargo-hack and cargo-minimal-versions + uses: taiki-e/install-action@v2 + with: + tool: cargo-hack,cargo-minimal-versions - run: cargo build --all --all-features --all-targets - name: Run cargo check (without dev-dependencies to catch missing feature flags) if: startsWith(matrix.rust, 'nightly') @@ -55,6 +59,7 @@ jobs: - run: cargo test - name: Run cargo check for WASM run: cargo check --all --all-features --all-targets --target wasm32-unknown-unknown + - run: cargo minimal-versions build --all --all-features msrv: runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 8affb3c..b29d345 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ exclude = ["/.*"] [dependencies] async-channel = "2.0.0" -async-task = "4.0.2" +async-task = "4.4.0" futures-io = { version = "0.3.28", default-features = false, features = ["std"] } futures-lite = { version = "2.0.0", default-features = false } piper = "0.2.0" diff --git a/src/lib.rs b/src/lib.rs index 66f6f52..c46946d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -324,7 +324,7 @@ impl Executor { // Spawn the new thread. if let Err(_e) = thread::Builder::new() - .name(format!("blocking-{}", id)) + .name(format!("blocking-{id}")) .spawn(move || self.main_loop()) { // We were unable to spawn the thread, so we need to undo the state changes.