Cargo Features
[dependencies]
suspend = { version = "0.1.3", default-features = false, features = ["oneshot"] }
- default = oneshot
-
The
oneshot
feature is set by default wheneversuspend
is added without
somewhere in the dependency tree.default-features = false - oneshot default = oneshot_rs
-
Affects
suspend::sender_task
…
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.
- oneshot_rs oneshot
-
Enables oneshot