Skip to content

Commit

Permalink
chore(deps): update rust crate tough to 0.17.1 (#5416)
Browse files Browse the repository at this point in the history
Co-authored-by: Rain <[email protected]>
  • Loading branch information
oxide-renovate[bot] and sunshowers authored Apr 5, 2024
1 parent 7620b5a commit 92e1813
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
15 changes: 7 additions & 8 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 @@ -428,7 +428,7 @@ tokio-tungstenite = "0.20"
tokio-util = { version = "0.7.10", features = ["io", "io-util"] }
toml = "0.8.12"
toml_edit = "0.22.9"
tough = { version = "0.16.0", features = [ "http" ] }
tough = { version = "0.17.1", features = [ "http" ] }
trust-dns-client = "0.22"
trust-dns-proto = "0.22"
trust-dns-resolver = "0.22"
Expand Down
2 changes: 1 addition & 1 deletion update-common/src/artifacts/artifacts_with_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl ArtifactsWithPlan {
.find_target(&target_name)
.map_err(|error| RepositoryError::TargetHashRead {
target: artifact.target.clone(),
error,
error: Box::new(error),
})?
.hashes
.sha256
Expand Down
2 changes: 1 addition & 1 deletion update-common/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub enum RepositoryError {
TargetHashRead {
target: String,
#[source]
error: tough::schema::Error,
error: Box<tough::schema::Error>,
},

#[error("target hash `{}` expected to be 32 bytes long, was {}", hex::encode(.0), .0.len())]
Expand Down

0 comments on commit 92e1813

Please sign in to comment.