Cargo Features
[dependencies]
event-listener = { version = "5.3.1", default-features = false, features = ["std", "portable-atomic", "loom"] }
- default = std
-
The
std
feature is set by default wheneverevent-listener
is added without
somewhere in the dependency tree.default-features = false - std default = parking
-
Enables std of concurrent-queue
Affects
event-listener::Listener.wait
,event-listener::Listener.wait_timeout
,event-listener::Listener.wait_deadline
,notify::Tag
,notify::TagWith
,notify::IntoNotification.tag
,notify::IntoNotification.tag_with
… - portable-atomic = portable-atomic-util, portable_atomic_crate
-
Enables portable-atomic of concurrent-queue
- loom
-
Enables loom, loom of concurrent-queue, loom of optional parking
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- portable-atomic-util portable-atomic?
- parking not wasm std
- portable_atomic_crate portable-atomic?
-
Enables portable-atomic