Cargo Features

[dependencies]
retry-policy = { version = "0.2.1", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc

Enables std of retry-backoff and retry-predicate

alloc std

Enables alloc of retry-backoff and retry-predicate

Affects policies::google_cloud_workflows

Features from optional dependencies

policies