Skip to content

Commit 94bc726

Browse files
authored
Update quick-xml 0.24 (#2625)
1 parent b792ff7 commit 94bc726

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

object_store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ walkdir = "2"
4444

4545
# Cloud storage support
4646
base64 = { version = "0.13", default-features = false, optional = true }
47-
quick-xml = { version = "0.23.0", features = ["serialize"], optional = true }
47+
quick-xml = { version = "0.24.0", features = ["serialize"], optional = true }
4848
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
4949
serde_json = { version = "1.0", default-features = false, optional = true }
5050
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true }

object_store/src/azure/client.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,8 @@ mod tests {
630630
<NextMarker />
631631
</EnumerationResults>";
632632

633-
let bytes = Bytes::from(S);
634633
let mut _list_blobs_response_internal: ListResultInternal =
635-
quick_xml::de::from_slice(bytes.as_ref()).unwrap();
634+
quick_xml::de::from_str(S).unwrap();
636635
}
637636

638637
#[test]
@@ -702,9 +701,8 @@ mod tests {
702701
<NextMarker/>
703702
</EnumerationResults>";
704703

705-
let bytes = Bytes::from(S);
706704
let mut _list_blobs_response_internal: ListResultInternal =
707-
quick_xml::de::from_slice(bytes.as_ref()).unwrap();
705+
quick_xml::de::from_str(S).unwrap();
708706
}
709707

710708
#[test]

0 commit comments

Comments
 (0)