parent
d98976d5e7
commit
70da197003
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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::*;
|
||||
|
|
Loading…
Reference in New Issue