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
|
|
|
|
2022-11-11 15:53:43 +00:00
|
|
|
[features]
|
|
|
|
default = ["std"]
|
|
|
|
std = ["parking"]
|
2023-04-03 04:36:44 +00:00
|
|
|
portable-atomic = ["portable-atomic-util", "portable_atomic_crate"]
|
2022-11-11 15:53:43 +00:00
|
|
|
|
2022-08-24 13:39:27 +00:00
|
|
|
[dependencies]
|
2022-11-11 15:53:43 +00:00
|
|
|
parking = { version = "2.0.0", optional = true }
|
2023-04-03 04:41:15 +00:00
|
|
|
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
|
2022-08-24 13:39:27 +00:00
|
|
|
|
2020-05-20 19:13:35 +00:00
|
|
|
[dev-dependencies]
|
2023-03-31 20:24:20 +00:00
|
|
|
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]
|
2022-11-11 15:53:43 +00:00
|
|
|
bench = false
|
2023-03-15 15:48:40 +00:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = ["strategy"]
|