Skip to content

Commit

Permalink
Update quick-xml to 0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
andy128k committed Nov 16, 2024
1 parent 3512177 commit d2d980a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Remove ambiguous statements about escaping from documentation. [`#85`](https://github.com/rust-syndication/atom/pull/85)
- Update `quick-xml` to `0.37`. [`#86`](https://github.com/rust-syndication/atom/pull/86)

## 0.12.4 - 2024-08-28

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include = ["src/*", "Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md"]

[dependencies]
diligent-date-parser = "0.1.3"
quick-xml = { version = "0.36", features = ["encoding"] }
quick-xml = { version = "0.37", features = ["encoding"] }
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
derive_builder = { version = "0.20", optional = true }
never = { version = "0.1", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ impl From<XmlError> for Error {
}

#[derive(Debug)]
pub struct XmlError(quick_xml::Error);
pub struct XmlError(Box<dyn StdError>);

impl XmlError {
pub(crate) fn new(err: quick_xml::Error) -> Self {
Self(err)
pub(crate) fn new(err: impl StdError + 'static) -> Self {
Self(Box::new(err))
}
}

Expand Down

0 comments on commit d2d980a

Please sign in to comment.