Skip to content

Commit

Permalink
Upgrade secrecy crate from 0.8.0 to 0.10.2 version (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
  • Loading branch information
dependabot[bot] and tyranron authored Sep 23, 2024
1 parent 7c138d7 commit e98b0b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Up @@ -20,7 +20,7 @@ split-debuginfo = "unpacked"
baza = { package = "baza-lib", path = "lib" }
baza-api-s3 = { path = "api/s3" }
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
secrecy = "0.8"
secrecy = "0.10"
tokio = "1"
tracing-subscriber = "0.3"

Expand Down
2 changes: 1 addition & 1 deletion api/s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ baza = { package = "baza-lib", path = "../../lib" }
derive_more = { version = "1", features = ["display", "error", "from"] }
hyper = "0.14"
s3-server = "0.2"
secrecy = "0.8"
secrecy = "0.10"
tokio-util = { version = "0.7", features = ["io", "compat"] }
4 changes: 2 additions & 2 deletions api/s3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ where
{
let mut auth = SimpleAuth::new();
auth.register(
access_key.expose_secret().clone(),
secret_key.expose_secret().clone(),
access_key.expose_secret().to_owned(),
secret_key.expose_secret().to_owned(),
);

let mut s3 = S3Service::new(S3(storage));
Expand Down

0 comments on commit e98b0b2

Please sign in to comment.