This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 94bc72674 Update quick-xml 0.24 (#2625)
94bc72674 is described below
commit 94bc7267492112fd5fec3774f3dda2cf8fa81962
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Thu Sep 1 17:07:21 2022 +0100
Update quick-xml 0.24 (#2625)
---
object_store/Cargo.toml | 2 +-
object_store/src/azure/client.rs | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/object_store/Cargo.toml b/object_store/Cargo.toml
index ccfe12393..b0201e2af 100644
--- a/object_store/Cargo.toml
+++ b/object_store/Cargo.toml
@@ -44,7 +44,7 @@ walkdir = "2"
# Cloud storage support
base64 = { version = "0.13", default-features = false, optional = true }
-quick-xml = { version = "0.23.0", features = ["serialize"], optional = true }
+quick-xml = { version = "0.24.0", features = ["serialize"], 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 }
diff --git a/object_store/src/azure/client.rs b/object_store/src/azure/client.rs
index 9f87a888c..ece07853a 100644
--- a/object_store/src/azure/client.rs
+++ b/object_store/src/azure/client.rs
@@ -630,9 +630,8 @@ mod tests {
<NextMarker />
</EnumerationResults>";
- let bytes = Bytes::from(S);
let mut _list_blobs_response_internal: ListResultInternal =
- quick_xml::de::from_slice(bytes.as_ref()).unwrap();
+ quick_xml::de::from_str(S).unwrap();
}
#[test]
@@ -702,9 +701,8 @@ mod tests {
<NextMarker/>
</EnumerationResults>";
- let bytes = Bytes::from(S);
let mut _list_blobs_response_internal: ListResultInternal =
- quick_xml::de::from_slice(bytes.as_ref()).unwrap();
+ quick_xml::de::from_str(S).unwrap();
}
#[test]