Skip to content

Commit 7765b9f

Browse files
committed
Update quick-xml to 0.36
1 parent 6f14522 commit 7765b9f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Update `quick-xml` to `0.32`. [`#82`](https://github.com/rust-syndication/atom/pull/82)
6+
- Update `quick-xml` to `0.36`. [`#83`](https://github.com/rust-syndication/atom/pull/83)
67

78
## 0.12.3 - 2024-05-11
89

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include = ["src/*", "Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md"]
1414

1515
[dependencies]
1616
diligent-date-parser = "0.1.3"
17-
quick-xml = { version = "0.32", features = ["encoding"] }
17+
quick-xml = { version = "0.36", features = ["encoding"] }
1818
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
1919
derive_builder = { version = "0.20", optional = true }
2020
never = { version = "0.1", optional = true }

src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub(crate) fn attr_value<'s, 'r, B: BufRead>(
3030
reader: &'r Reader<B>,
3131
) -> Result<Cow<'s, str>, Error> {
3232
let value = attr
33-
.decode_and_unescape_value(reader)
33+
.decode_and_unescape_value(reader.decoder())
3434
.map_err(XmlError::new)?;
3535
Ok(value)
3636
}

0 commit comments

Comments
 (0)