diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d36b07..66fffbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: matrix: # When updating this, the reminder to update the minimum supported # Rust version in Cargo.toml. - rust: ['1.59'] + rust: ['1.61'] steps: - uses: actions/checkout@v4 - name: Install Rust @@ -105,6 +105,7 @@ jobs: echo "RUSTFLAGS=${RUSTFLAGS} -Z randomize-layout" >>"${GITHUB_ENV}" - run: cargo miri test --all - run: cargo miri test --no-default-features --tests + - run: cargo miri test --no-default-features --features portable-atomic --tests security_audit: permissions: diff --git a/Cargo.toml b/Cargo.toml index f15a149..ca4ca79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ name = "event-listener" version = "4.0.0" authors = ["Stjepan Glavina "] edition = "2021" -rust-version = "1.59" +rust-version = "1.61" description = "Notify async tasks or threads" license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/event-listener" @@ -22,7 +22,7 @@ portable-atomic = ["portable-atomic-util", "portable_atomic_crate"] [dependencies] concurrent-queue = { version = "2.2.0", default-features = false } pin-project-lite = "0.2.12" -portable-atomic-util = { version = "0.1.2", default-features = false, optional = true, features = ["alloc"] } +portable-atomic-util = { version = "0.1.4", default-features = false, optional = true, features = ["alloc"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] parking = { version = "2.0.0", optional = true }