Skip to content

Commit

Permalink
Update quick-xml requirement from 0.36.0 to 0.37.0 in /object_store (#…
Browse files Browse the repository at this point in the history
…6687)

Updates the requirements on [quick-xml](https://github.com/tafia/quick-xml) to permit the latest version.
- [Release notes](https://github.com/tafia/quick-xml/releases)
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md)
- [Commits](tafia/quick-xml@v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: quick-xml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
crepererum and dependabot[bot] authored Nov 5, 2024
1 parent 9a11936 commit b11b151
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion object_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ walkdir = "2"
# Cloud storage support
base64 = { version = "0.22", default-features = false, features = ["std"], optional = true }
hyper = { version = "1.2", default-features = false, optional = true }
quick-xml = { version = "0.36.0", features = ["serialize", "overlapped-lists"], optional = true }
quick-xml = { version = "0.37.0", features = ["serialize", "overlapped-lists"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
serde_json = { version = "1.0", default-features = false, optional = true }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true }
Expand Down
5 changes: 4 additions & 1 deletion object_store/src/gcp/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ enum Error {
#[snafu(display("Error getting put response body: {}", source))]
PutResponseBody { source: reqwest::Error },

#[snafu(display("Got invalid put request: {}", source))]
InvalidPutRequest { source: quick_xml::se::SeError },

#[snafu(display("Got invalid put response: {}", source))]
InvalidPutResponse { source: quick_xml::de::DeError },

Expand Down Expand Up @@ -495,7 +498,7 @@ impl GoogleCloudStorageClient {
let credential = self.get_credential().await?;

let data = quick_xml::se::to_string(&upload_info)
.context(InvalidPutResponseSnafu)?
.context(InvalidPutRequestSnafu)?
// We cannot disable the escaping that transforms "/" to "&quote;" :(
// https://github.com/tafia/quick-xml/issues/362
// https://github.com/tafia/quick-xml/issues/350
Expand Down

0 comments on commit b11b151

Please sign in to comment.