Cargo Features
[dependencies]
event-listener = { version = "5.4.1", default-features = false, features = ["std", "portable-atomic", "loom", "critical-section"] }
- default = std
-
The
stdfeature is set by default wheneverevent-listeneris added withoutsomewhere 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.
- critical-section implicit feature
-
Enables critical-section
critical-section:
Cross-platform critical section
- portable-atomic-util portable-atomic?
- parking not wasm std
- portable_atomic_crate portable-atomic?
-
Enables portable-atomic