Skip to content

Conversation

@ctaggart
Copy link
Contributor

This removes two XML dependencies for azure_core, separates out a parsing_xml modules parsing and moves it to azure_storage. Based on #170 , it starts an AzureStorageError. Errors in azure_storage are switched that error. quick-error is removed in favor of thiserror, like #249.

@ctaggart ctaggart marked this pull request as ready for review May 16, 2021 02:43
@ctaggart ctaggart requested review from MindFlavor and rylev May 16, 2021 02:43
Copy link
Contributor

@MindFlavor MindFlavor left a comment

Choose a reason for hiding this comment

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

Nice work, very neat. 👍
I just have one question about module visibility (but we can address it in another PR if you like).

use azure_core::headers::*;
pub use copy_id::{copy_id_from_headers, CopyId};
pub use copy_progress::CopyProgress;
pub mod parsing_xml;
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the idea to move the XML helper functions to a separate module.
Does it need to be public?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It no longer needs to be. I'll make it pub(crate) for this PR.

@ctaggart ctaggart merged commit b7c0a9c into Azure:master May 16, 2021
@ctaggart ctaggart deleted the xml branch May 16, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants