Skip to content

Commit

Permalink
refactor(backend): replace backoff dependency by backon
Browse files Browse the repository at this point in the history
  • Loading branch information
nardoor committed Nov 17, 2024
1 parent a27ee68 commit b2b1914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
22 changes: 1 addition & 21 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ opendal = [
"tokio/rt-multi-thread",
"dep:typed-path",
]
rest = ["dep:reqwest", "dep:backoff"]
rest = ["dep:reqwest", "dep:backon"]
rclone = ["rest", "dep:rand", "dep:semver"]

[dependencies]
Expand Down Expand Up @@ -78,7 +78,7 @@ aho-corasick = { workspace = true }
walkdir = "2.5.0"

# rest backend
backoff = { version = "0.4.0", optional = true }
backon = { version = "1.2.0", optional = true }
reqwest = { version = "0.12.8", default-features = false, features = ["json", "rustls-tls-native-roots", "stream", "blocking"], optional = true }

# rclone backend
Expand Down

0 comments on commit b2b1914

Please sign in to comment.