make error Send + Sync

This commit is contained in:
OMGeeky
2023-10-12 19:10:44 +02:00
parent 7e5594f905
commit d677b26f89
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "reqwest-backoff"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -20,7 +20,7 @@ pub enum ReqwestBackoffError {
#[error("Reqwest error")]
Reqwest(#[from] Error),
#[error("Other error")]
Other(#[from] Box<dyn StdError>),
Other(#[from] Box<dyn StdError + Send + Sync>),
#[error("Backoff error after {backoff_attempts} attempts")]
BackoffExceeded { backoff_attempts: u32 },
}