From 3f43fca90dfff4a8728765867cea85865843c337 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 11 Mar 2024 20:17:37 -0700 Subject: [PATCH] Fix warning on no edition set in serde_derive New warning since nightly-2024-03-03: warning: serde_derive/Cargo.toml: no edition set: defaulting to the 2015 edition while 2018 is compatible with `rust-version` warning: serde_derive_internals/Cargo.toml: no edition set: defaulting to the 2015 edition while 2018 is compatible with `rust-version` --- serde_derive/Cargo.toml | 1 + serde_derive_internals/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index cd3c4b79..8d91a74d 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -5,6 +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" exclude = ["build.rs"] homepage = "https://serde.rs" keywords = ["serde", "serialization"]