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 default-features = false somewhere in the dependency tree.

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

Enables time of tokio

Affects sleep::DefaultSleeper, sleep::TokioSleeper