Skip to content

Commit 8dbd3fb

Browse files
authored
docs(msrv): declare rust-version = 1.88 (#208)
0.3.15's streaming reader uses a let-chain (stabilized in Rust 1.88); declare the MSRV so cargo emits a clean version error for 1.85-1.87 consumers. CHANGELOG noted. No code change.
1 parent e3323da commit 8dbd3fb

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131

3232
### Changed
3333

34+
* **Minimum supported Rust version is now 1.88** (declared via `rust-version`).
35+
The streaming `reader` uses a let-chain (stabilized in 1.88); the edition is
36+
already 2024. Consumers on 1.85–1.87 that built 0.3.14 will need to update.
3437
* `Node::_wrap`'s per-document `xmlNodePtr -> Node` cache now hashes pointer keys
3538
with a small FxHash-style hasher instead of the default SipHash `RandomState`.
3639
The cache is probed on every `Node` wrap (child/sibling walks, XPath results,

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "libxml"
33
version = "0.3.15"
44
edition = "2024"
5+
rust-version = "1.88"
56
authors = ["Andreas Franzén <andreas@devil.se>", "Deyan Ginev <deyan.ginev@gmail.com>","Jan Frederik Schaefer <j.schaefer@jacobs-university.de>"]
67
description = "A Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome project"
78
repository = "https://github.com/KWARC/rust-libxml"

0 commit comments

Comments
 (0)