Skip to content

Commit 05cd262

Browse files
committed
Bump MSRV to 1.79
1 parent c364de7 commit 05cd262

6 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: dtolnay/rust-toolchain@1.56.0
17+
- uses: dtolnay/rust-toolchain@1.79.0
1818
- run: cargo check
1919

2020
minimal-versions:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/tafia/quick-xml"
1010
keywords = ["xml", "serde", "parser", "writer", "html"]
1111
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
1212
license = "MIT"
13-
rust-version = "1.56"
13+
rust-version = "1.79"
1414
# We exclude tests & examples & benches to reduce the size of a package.
1515
# Unfortunately, this is source of warnings in latest cargo when packaging:
1616
# > warning: ignoring {context} `{name}` as `{path}` is not included in the published package

Changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@
5353
accepts `XmlVersion` parameter to apply correct EOL normalization rules.
5454
- [#944]: `read_text()` now returns `BytesText` which allows you to get the content with
5555
properly normalized EOLs. To get the previous behavior use `.read_text().decode()?`.
56+
- [#947]: Bumped MSRV from 1.59 (Feb 2022) to 1.79 (June 2024)
5657

57-
[#947]: https://github.com/tafia/quick-xml/pull/947
5858
[#371]: https://github.com/tafia/quick-xml/issues/371
5959
[#914]: https://github.com/tafia/quick-xml/pull/914
6060
[#938]: https://github.com/tafia/quick-xml/pull/938
6161
[#944]: https://github.com/tafia/quick-xml/pull/944
62+
[#947]: https://github.com/tafia/quick-xml/pull/947
6263

6364

6465
## 0.39.2 -- 2026-02-20

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Crate](https://img.shields.io/crates/v/quick-xml.svg)](https://crates.io/crates/quick-xml)
55
[![docs.rs](https://docs.rs/quick-xml/badge.svg)](https://docs.rs/quick-xml)
66
[![codecov](https://img.shields.io/codecov/c/github/tafia/quick-xml)](https://codecov.io/gh/tafia/quick-xml)
7-
[![MSRV](https://img.shields.io/badge/rustc-1.56.0+-ab6000.svg)](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html)
7+
[![MSRV](https://img.shields.io/badge/rustc-1.79.0+-ab6000.svg)](https://blog.rust-lang.org/2024/06/13/Rust-1.79.0/)
88

99
High performance xml pull reader/writer.
1010

benches/macrobenches.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// std::hint::black_box stable since 1.66, but our MSRV = 1.56.
2-
// criterion::black_box is deprecated in since criterion 0.7.
3-
// Running benchmarks assumed on current Rust version, so this should be fine
4-
#![allow(clippy::incompatible_msrv)]
51
use criterion::{self, criterion_group, criterion_main, Criterion, Throughput};
62
use quick_xml::events::Event;
73
use quick_xml::reader::{NsReader, Reader};

benches/microbenches.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// std::hint::black_box stable since 1.66, but our MSRV = 1.56.
2-
// criterion::black_box is deprecated in since criterion 0.7.
3-
// Running benchmarks assumed on current Rust version, so this should be fine
4-
#![allow(clippy::incompatible_msrv)]
51
use criterion::{self, criterion_group, criterion_main, Criterion};
62
use pretty_assertions::assert_eq;
73
use quick_xml::escape::{escape, unescape};

0 commit comments

Comments
 (0)