Cargo Features

[dependencies]
event-listener = { version = "5.3.0", default-features = false, features = ["std", "portable-atomic", "loom"] }
default = std

The std feature is set by default whenever event-listener is added without default-features = false somewhere in the dependency tree.

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
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