Cargo Features

[dependencies]
wg = { version = "1.0.0", default-features = false, features = ["std", "alloc", "triomphe", "parking_lot", "future"] }
default = parking_lot, std, triomphe

These default features are set whenever wg is added without default-features = false somewhere in the dependency tree.

std default

Enables optional event-listener and optional triomphe

Affects wg::spin, wg::future

alloc

Affects wg::spin, wg::future

triomphe default

Enables triomphe

parking_lot default

Enables parking_lot

future = event-listener, pin-project-lite

Affects wg::future

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.

event-listener future?
pin-project-lite future?