From d5662e436f3afe700a71351d6e2ebc3fbfe8114b Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Sun, 2 Apr 2023 17:36:41 +0100 Subject: [PATCH] Update to edition 2021 --- metadata_checks/Cargo.toml | 2 +- num_enum/Cargo.toml | 2 +- num_enum_derive/Cargo.toml | 2 +- renamed_num_enum/Cargo.toml | 2 +- serde_example/Cargo.toml | 2 +- stress_tests/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/metadata_checks/Cargo.toml b/metadata_checks/Cargo.toml index ad6df47..399cd3c 100644 --- a/metadata_checks/Cargo.toml +++ b/metadata_checks/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "metadata_check" version = "0.1.0" -edition = "2018" +edition = "2021" publish = false [dev-dependencies] diff --git a/num_enum/Cargo.toml b/num_enum/Cargo.toml index 232cfeb..7e06100 100644 --- a/num_enum/Cargo.toml +++ b/num_enum/Cargo.toml @@ -8,7 +8,7 @@ authors = [ "Vincent Esche ", ] description = "Procedural macros to make inter-operation between primitives and enums easier." -edition = "2018" +edition = "2021" repository = "https://github.com/illicitonion/num_enum" readme = "README.md" keywords = ["enum", "conversion", "safe", "ffi", "derive"] diff --git a/num_enum_derive/Cargo.toml b/num_enum_derive/Cargo.toml index abd3330..723c240 100644 --- a/num_enum_derive/Cargo.toml +++ b/num_enum_derive/Cargo.toml @@ -8,7 +8,7 @@ authors = [ "Vincent Esche ", ] description = "Internal implementation details for ::num_enum (Procedural macros to make inter-operation between primitives and enums easier)" -edition = "2018" +edition = "2021" repository = "https://github.com/illicitonion/num_enum" keywords = [] categories = [] diff --git a/renamed_num_enum/Cargo.toml b/renamed_num_enum/Cargo.toml index 65f7e9f..6d6eafe 100644 --- a/renamed_num_enum/Cargo.toml +++ b/renamed_num_enum/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "renamed_num_enum" version = "0.0.0" -edition = "2018" +edition = "2021" publish = false [dependencies.renamed] diff --git a/serde_example/Cargo.toml b/serde_example/Cargo.toml index 9614971..0104415 100644 --- a/serde_example/Cargo.toml +++ b/serde_example/Cargo.toml @@ -7,7 +7,7 @@ authors = [ "Vincent Esche ", ] description = "Example crate using num_enum and serde. Regression test for https://github.com/illicitonion/num_enum/issues/18." -edition = "2018" +edition = "2021" repository = "https://github.com/illicitonion/num_enum" publish = false diff --git a/stress_tests/Cargo.toml b/stress_tests/Cargo.toml index 1d81b20..0c4552d 100644 --- a/stress_tests/Cargo.toml +++ b/stress_tests/Cargo.toml @@ -7,7 +7,7 @@ authors = [ "Vincent Esche ", ] description = "Tests using large enums. Regression test for https://github.com/illicitonion/num_enum/issues/83." -edition = "2018" +edition = "2021" repository = "https://github.com/illicitonion/num_enum" publish = false