Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quick-xml 0.24 #2625

Merged
merged 1 commit into from Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion object_store/Cargo.toml
Expand Up @@ -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 }
Expand Down
6 changes: 2 additions & 4 deletions object_store/src/azure/client.rs
Expand Up @@ -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();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from_slice was removed by tafia/quick-xml#440

}

#[test]
Expand Down Expand Up @@ -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]
Expand Down