From ef1bfa20a2931c02a3b7b50143d36be6b90646e0 Mon Sep 17 00:00:00 2001 From: KodrAus Date: Thu, 6 Feb 2025 07:00:19 +1000 Subject: [PATCH] drop edition requirement down to 2021 --- Cargo.toml | 3 ++- macros/Cargo.toml | 2 +- tests/ui/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 41422b2..1582b15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,8 @@ repository = "https://github.com/bitflags/bitflags-derive" description = "bitflags-aware #[derive] macros." keywords = ["bit", "bitmask", "bitflags", "flags"] categories = ["no-std"] -edition = "2024" +edition = "2021" +rust-version = "1.56.0" exclude = ["/tests", "/.github"] [dependencies.bitflags-derive-macros] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 0f5b5fe..415b81f 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/bitflags/bitflags-derive" description = "bitflags-aware #[derive] macros." keywords = ["bit", "bitmask", "bitflags", "flags"] categories = ["no-std"] -edition = "2024" +edition = "2021" [lib] proc-macro = true diff --git a/tests/ui/Cargo.toml b/tests/ui/Cargo.toml index a9c740a..57e712b 100644 --- a/tests/ui/Cargo.toml +++ b/tests/ui/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bitflags-derive-tests-ui" version = "0.0.0" -edition = "2024" +edition = "2021" publish = false [dependencies.bitflags-derive]