Cargo Features
[dependencies]
backon = { version = "1.2.0", default-features = false, features = ["std-blocking-sleep", "gloo-timers-sleep", "tokio-sleep"] }
- default = gloo-timers-sleep, std-blocking-sleep, tokio-sleep
-
These default features are set whenever
backon
is added without
somewhere in the dependency tree.default-features = false - std-blocking-sleep default
-
Affects
blocking_sleep::DefaultBlockingSleeper
,blocking_sleep::StdSleeper
… - gloo-timers-sleep default
-
Enables futures of gloo-timers
Affects
sleep::DefaultSleeper
,sleep::GlooTimersSleep
… - tokio-sleep default
-
Affects
sleep::DefaultSleeper
,sleep::TokioSleeper
…