Skip to content

Commit

Permalink
Add CHANGELOG; derive Debug, Clone and Copy for ExponentialBackoffConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
brendano257 committed Jun 30, 2024
1 parent 1d43465 commit 34066af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

### In Progress

...

### v0.2.1

- Derive Debug, Clone, Copy for `ExponentialBackoffConfig`
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "retry-if"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
resolver = "2"
authors = ["Brendan Blanchard"]
Expand Down
1 change: 1 addition & 0 deletions src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ use std::time::Duration;
/// backoff_max: Some(Duration::from_secs(30)),
/// };
/// ```
#[derive(Debug, Clone, Copy)]
pub struct ExponentialBackoffConfig {
/// maximum number of retry attempts to make
pub max_retries: i32,
Expand Down

0 comments on commit 34066af

Please sign in to comment.