Skip to content

Commit

Permalink
Bump MSRV to 1.61 (#102)
Browse files Browse the repository at this point in the history
This commit also adds portable-atomic tests for MIRI.

Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull authored Dec 16, 2023
1 parent 531c106 commit cc33cc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "event-listener"
version = "4.0.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
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"
Expand All @@ -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 }
Expand Down

0 comments on commit cc33cc5

Please sign in to comment.