m: Fix MSRV

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2024-04-13 20:48:29 -07:00
parent d98976d5e7
commit 70da197003
No known key found for this signature in database
GPG Key ID: 2FE69973CFD64832
5 changed files with 6 additions and 7 deletions

View File

@ -50,7 +50,7 @@ jobs:
matrix:
# When updating this, the reminder to update the minimum supported
# Rust version in Cargo.toml.
rust: ['1.56']
rust: ['1.59']
steps:
- uses: actions/checkout@v4
- name: Install Rust

View File

@ -6,7 +6,7 @@ name = "event-listener"
version = "2.5.3"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2021"
rust-version = "1.56"
rust-version = "1.59"
description = "Notify async tasks or threads"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/event-listener"
@ -24,6 +24,5 @@ portable-atomic-crate = { version = "1.6.0", package = "portable-atomic", option
portable-atomic-util = { version = "0.1.5", features = ["alloc"], optional = true }
[dev-dependencies]
futures = { version = "0.3", default-features = false, features = ["std"] }
futures-lite = "2.3.0"
waker-fn = "1"

View File

@ -1,11 +1,11 @@
//! Linked list of listeners.
#[cfg(feature = "std")]
mod std;
mod mutex;
#[cfg(feature = "std")]
pub(crate) use std::*;
pub(crate) use mutex::*;
#[cfg(not(feature = "std"))]
mod no_std;
mod lock_free;
#[cfg(not(feature = "std"))]
pub(crate) use no_std::*;
pub(crate) use lock_free::*;