mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-11-03 16:41:26 +01:00
feat(sdk/http): implement automatic retries with exponential backoff and jitter
This commit is contained in:
1 parent
808a96cdd1
commit
d2f44d511c
4 files changed
+317
-62
No files matched your search
+3
-1
@@ -10,7 +10,7 @@ repository = "https://github.com/ProtonDriveApps/sdk"
|
||||
rust-version = "1.80"
|
||||
|
||||
[workspace.dependencies]
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "fs", "io-util"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "fs", "io-util", "time"] }
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream", "multipart"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
@@ -24,6 +24,8 @@ hex = "0.4"
|
||||
hmac = "0.12"
|
||||
sha1 = "0.10"
|
||||
sha2 = "0.10"
|
||||
aes-gcm = "0.10"
|
||||
hkdf = "0.12"
|
||||
bcrypt = "0.17"
|
||||
pgp = "0.16"
|
||||
tracing = "0.1"
|
||||
|
||||
Reference in new issue
Block a user