From 2906b1c72e8c487aad4698bd3a3a51efb37dbfb7 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 2 May 2024 19:51:28 +0100 Subject: [PATCH] Update to Rust's 2021 edition --- CHANGELOG.md | 1 + Cargo.toml | 2 +- ffi/CHANGELOG.md | 1 + ffi/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 079f7de..45e92c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ As of v1.0.4, version numbers are shared between esplugin and esplugin-ffi. ### Changed - `Error::NoFilename`, `Error::ParsingIncomplete` and `Error::DecodeError` now hold contextual data. +- Updated to Rust's 2021 edition. ## [4.1.1] - 2022-09-15 diff --git a/Cargo.toml b/Cargo.toml index cd41543..60be1cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/Ortham/esplugin.git" readme = "README.md" categories = ["games", "parsing"] license = "GPL-3.0" -edition = "2018" +edition = "2021" [badges] coveralls = { repository = "Ortham/esplugin" } diff --git a/ffi/CHANGELOG.md b/ffi/CHANGELOG.md index ed016f2..3bc0b7d 100644 --- a/ffi/CHANGELOG.md +++ b/ffi/CHANGELOG.md @@ -7,6 +7,7 @@ After v1.0.3, version numbers are shared between esplugin and esplugin-ffi. ### Changed - Updated to esplugin v5.0.0. +- Updated to Rust's 2021 edition. ### Removed diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index fb71ba8..f2666b1 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/Ortham/esplugin.git" readme = "../README.md" categories = ["games", "parsing"] license = "GPL-3.0" -edition = "2018" +edition = "2021" exclude = [ "build/*", "include/*",