├── .devcontainer └── devcontainer.json ├── .github └── workflows │ ├── audit.yml │ ├── coverage.yml │ ├── outdated.yml │ └── rust.yaml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── deny.toml ├── rustfmt.toml ├── src ├── action.rs ├── condition.rs ├── error.rs ├── future.rs ├── lib.rs ├── notify.rs └── strategy │ ├── exponential_backoff.rs │ ├── exponential_factor_backoff.rs │ ├── fibonacci_backoff.rs │ ├── fixed_interval.rs │ ├── jitter.rs │ ├── max_interval.rs │ └── mod.rs └── tests └── future.rs /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/workflows/audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/.github/workflows/audit.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/outdated.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/.github/workflows/outdated.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/.github/workflows/rust.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/README.md -------------------------------------------------------------------------------- /deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/deny.toml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/action.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/action.rs -------------------------------------------------------------------------------- /src/condition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/condition.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/future.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/future.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/notify.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/notify.rs -------------------------------------------------------------------------------- /src/strategy/exponential_backoff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/exponential_backoff.rs -------------------------------------------------------------------------------- /src/strategy/exponential_factor_backoff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/exponential_factor_backoff.rs -------------------------------------------------------------------------------- /src/strategy/fibonacci_backoff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/fibonacci_backoff.rs -------------------------------------------------------------------------------- /src/strategy/fixed_interval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/fixed_interval.rs -------------------------------------------------------------------------------- /src/strategy/jitter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/jitter.rs -------------------------------------------------------------------------------- /src/strategy/max_interval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/max_interval.rs -------------------------------------------------------------------------------- /src/strategy/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/src/strategy/mod.rs -------------------------------------------------------------------------------- /tests/future.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naomijub/tokio-retry/HEAD/tests/future.rs --------------------------------------------------------------------------------