Skip to content

Commit

Permalink
Merge pull request #61 from JayceFayne/xml-update
Browse files Browse the repository at this point in the history
quick-xml update
  • Loading branch information
hannobraun authored Jan 9, 2025
2 parents 670c1a5 + 26deca1 commit bf14491
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/hannobraun/3mf-rs"


[dependencies]
quick-xml = { version = "0.36.0", features = ["serialize"] }
quick-xml = { version = "0.37.0", features = ["serialize"] }
serde = { version = "1.0.152", features = ["derive"] }
thiserror = "2.0.3"

Expand Down
10 changes: 5 additions & 5 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ pub enum Error {
#[error("Error writing ZIP file (3MF files are ZIP files)")]
Zip(#[from] ZipError),

/// Error reading/writing XML
#[error("Error reading/writing XML")]
XMLError(#[from] quick_xml::Error),

/// Error Deserializing internal 3MF XML structure
#[error("Deserialization error from xml reading")]
DeError(#[from] quick_xml::DeError),
XMLDe(#[from] quick_xml::DeError),

/// Error Serializing internal 3MF XML structure
#[error("Serialization error from xml writing")]
XMLSe(#[from] quick_xml::SeError),
}

0 comments on commit bf14491

Please sign in to comment.