event-listener/Cargo.toml

50 lines
1.1 KiB
TOML
Raw Normal View History

2020-05-16 17:44:50 +00:00
[package]
name = "event-listener"
2022-01-08 10:28:55 +00:00
# When publishing a new version:
# - Update CHANGELOG.md
# - Create "v2.x.y" git tag
2022-07-27 02:26:40 +00:00
version = "2.5.3"
2020-05-16 17:44:50 +00:00
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
2022-09-01 03:54:19 +00:00
rust-version = "1.39"
2020-05-16 17:44:50 +00:00
description = "Notify async tasks or threads"
license = "Apache-2.0 OR MIT"
2020-12-26 14:47:13 +00:00
repository = "https://github.com/smol-rs/event-listener"
2020-05-16 17:44:50 +00:00
keywords = ["condvar", "eventcount", "wake", "blocking", "park"]
categories = ["asynchronous", "concurrency"]
2022-01-08 10:28:02 +00:00
exclude = ["/.*"]
2020-05-20 19:13:35 +00:00
[features]
default = ["std"]
std = ["parking"]
2023-04-03 04:36:44 +00:00
portable-atomic = ["portable-atomic-util", "portable_atomic_crate"]
[dependencies]
parking = { version = "2.0.0", optional = true }
portable-atomic-util = { version = "0.1.2", default-features = false, optional = true, features = ["alloc"] }
2023-04-03 04:36:44 +00:00
[dependencies.portable_atomic_crate]
package = "portable-atomic"
version = "1.2.0"
default-features = false
optional = true
2020-05-20 19:13:35 +00:00
[dev-dependencies]
futures-lite = "1.12.0"
2022-01-22 07:38:14 +00:00
waker-fn = "1"
2022-09-09 14:30:51 +00:00
2022-11-12 16:14:57 +00:00
[dev-dependencies.criterion]
version = "0.4.0"
default-features = false
features = ["cargo_bench_support"]
2022-09-09 14:30:51 +00:00
[[bench]]
name = "bench"
harness = false
[lib]
bench = false
[workspace]
members = ["strategy"]