From 89854ab0441ea459b7b3e2f50e6c3500c7e9c2db Mon Sep 17 00:00:00 2001 From: mahmoud-eltahawy Date: Tue, 30 Jul 2024 16:12:38 +0300 Subject: [PATCH] workspace 2018 rust edition --- Cargo.toml | 4 ++++ serde/Cargo.toml | 2 +- serde_derive/Cargo.toml | 2 +- serde_derive_internals/Cargo.toml | 2 +- test_suite/Cargo.toml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ac94fb08c..bdbc93534 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,10 @@ members = [ "test_suite", ] +[workspace.package] +edition = "2018" + + [patch.crates-io] serde = { path = "serde" } diff --git a/serde/Cargo.toml b/serde/Cargo.toml index b51397218..0d6536257 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -6,7 +6,7 @@ build = "build.rs" categories = ["encoding", "no-std", "no-std::no-alloc"] description = "A generic serialization/deserialization framework" documentation = "https://docs.rs/serde" -edition = "2018" +edition = { workspace = true } homepage = "https://serde.rs" keywords = ["serde", "serialization", "no_std"] license = "MIT OR Apache-2.0" diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index 91509f599..a6882557f 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Erick Tryzelaar ", "David Tolnay ", "David Tolnay "] description = "AST representation used by Serde derive macros. Unstable." documentation = "https://docs.rs/serde_derive_internals" -edition = "2015" +edition = { workspace = true } exclude = ["build.rs"] homepage = "https://serde.rs" keywords = ["serde", "serialization"] diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.toml index 07e62656a..16c65b999 100644 --- a/test_suite/Cargo.toml +++ b/test_suite/Cargo.toml @@ -2,7 +2,7 @@ name = "serde_test_suite" version = "0.0.0" authors = ["Erick Tryzelaar ", "David Tolnay "] -edition = "2018" +edition = { workspace = true } publish = false [features]