feat: add basic retry handling

This commit is contained in:
2026-02-03 19:42:55 +01:00
parent c5feb88d5c
commit b7973dc18d
4 changed files with 35 additions and 4 deletions

7
Cargo.lock generated
View File

@@ -32,6 +32,12 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "either"
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "hermit-abi"
version = "0.2.6"
@@ -79,6 +85,7 @@ name = "noretry"
version = "0.1.0"
dependencies = [
"anyhow",
"either",
"thiserror",
"tokio",
"tracing",