37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[package]
|
|
name = "event-listener"
|
|
# When publishing a new version:
|
|
# - Update CHANGELOG.md
|
|
# - Create "v2.x.y" git tag
|
|
version = "5.3.0"
|
|
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.59"
|
|
description = "Notify async tasks or threads"
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/smol-rs/event-listener"
|
|
keywords = ["condvar", "eventcount", "wake", "blocking", "park"]
|
|
categories = ["asynchronous", "concurrency"]
|
|
exclude = ["/.*"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = []
|
|
portable-atomic = ["portable-atomic-crate", "portable-atomic-util"]
|
|
|
|
[dependencies]
|
|
portable-atomic-crate = { version = "1.6.0", package = "portable-atomic", optional = true }
|
|
portable-atomic-util = { version = "0.1.5", features = ["alloc"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
futures-lite = "2.3.0"
|
|
criterion = { version = "0.3.4", default-features = false, features = ["cargo_bench_support"] }
|
|
waker-fn = "1"
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|
|
required-features = ["std"]
|
|
|
|
[lib]
|
|
bench = false |