Bump MSRV to 1.61 (#102)
This commit also adds portable-atomic tests for MIRI. Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
531c106f0e
commit
cc33cc5467
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue