Skip to content

Commit 3f43fca

Browse files
committed
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`
1 parent 7644948 commit 3f43fca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

serde_derive/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Erick Tryzelaar <[email protected]>", "David Tolnay <dtolnay
55
categories = ["no-std", "no-std::no-alloc"]
66
description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]"
77
documentation = "https://serde.rs/derive.html"
8+
edition = "2015"
89
homepage = "https://serde.rs"
910
keywords = ["serde", "serialization", "no_std", "derive"]
1011
license = "MIT OR Apache-2.0"

serde_derive_internals/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.29.0"
44
authors = ["Erick Tryzelaar <[email protected]>", "David Tolnay <[email protected]>"]
55
description = "AST representation used by Serde derive macros. Unstable."
66
documentation = "https://docs.rs/serde_derive_internals"
7+
edition = "2015"
78
exclude = ["build.rs"]
89
homepage = "https://serde.rs"
910
keywords = ["serde", "serialization"]

0 commit comments

Comments
 (0)