Adding exponential_backoff library as a dependency

Run this command in a terminal, in your project's directory:

cargo add exponential-backoff

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

exponential-backoff = "2.1.0"

The exponential_backoff library will be automatically available globally. Read the exponential_backoff library documentation.

Back to the crate overview.