| 1 |
[package] |
| 2 |
name = "event-listener" |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
version = "5.4.2" |
| 7 |
authors = ["Stjepan Glavina <[email protected]>", "John Nunley <[email protected]>"] |
| 8 |
edition = "2021" |
| 9 |
rust-version = "1.60" |
| 10 |
description = "Notify async tasks or threads" |
| 11 |
license = "Apache-2.0 OR MIT" |
| 12 |
repository = "https://github.com/smol-rs/event-listener" |
| 13 |
keywords = ["condvar", "eventcount", "wake", "blocking", "park"] |
| 14 |
categories = ["asynchronous", "concurrency"] |
| 15 |
exclude = ["/.*"] |
| •16 |
autobenches = false |
| 17 |
|
| 18 |
[features] |
| 19 |
default = ["std"] |
| 20 |
std = ["parking"] |
| 21 |
portable-atomic = [ |
| 22 |
"portable-atomic-util", |
| 23 |
"portable_atomic_crate", |
| 24 |
] |
| 25 |
|
| 26 |
[lints.rust] |
| 27 |
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } |
| 28 |
|
| 29 |
[dependencies] |
| 30 |
critical-section = { version = "1.2.0", default-features = false, optional = true } |
| 31 |
pin-project-lite = "0.2.12" |
| 32 |
portable-atomic-util = { version = "0.2.0", default-features = false, optional = true, features = ["alloc"] } |
| 33 |
|
| 34 |
[target.'cfg(not(target_family = "wasm"))'.dependencies] |
| 35 |
parking = { version = "2.0.0", optional = true } |
| 36 |
|
| 37 |
[dependencies.portable_atomic_crate] |
| 38 |
package = "portable-atomic" |
| 39 |
version = "1.2.0" |
| 40 |
default-features = false |
| 41 |
optional = true |
| 42 |
|
| 43 |
[dev-dependencies] |
| 44 |
critical-section = { version = "1.2.0", features = ["std"] } |
| 45 |
futures-lite = "2.0.0" |
| 46 |
try-lock = "0.2.5" |
| 47 |
waker-fn = "1" |