diff --git a/CHANGELOG.md b/CHANGELOG.md index d18bb54..e3e6abc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - ~5% faster parsing. - Fallback to `Rc` when `Arc` isn't available. - Bump MSRV to 1.60 +- Bump edition to 2021 - `Error` variants have changed quite a lot. - XML declaration validation was simplified. We no longer check for attributes content. Meaning that `version`, `encoding` and `standalone` can contain any value now. diff --git a/Cargo.toml b/Cargo.toml index 39d2113..e5a0a77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ description = "Represent an XML as a read-only tree." repository = "https://github.com/RazrFalcon/roxmltree" documentation = "https://docs.rs/roxmltree/" readme = "README.md" -edition = "2018" +edition = "2021" rust-version = "1.60" [workspace] diff --git a/benches/Cargo.toml b/benches/Cargo.toml index a46914e..66cd9db 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "benchmark" version = "0.1.0" -edition = "2018" +edition = "2021" workspace = ".." [dependencies] diff --git a/testing-tools/afl-fuzz/Cargo.toml b/testing-tools/afl-fuzz/Cargo.toml index fb804cd..0763085 100644 --- a/testing-tools/afl-fuzz/Cargo.toml +++ b/testing-tools/afl-fuzz/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "afl-fuzz" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] afl = "*"