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`
This commit is contained in:
David Tolnay 2024-03-11 20:17:37 -07:00
parent 76449488ca
commit 3f43fca90d
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay
categories = ["no-std", "no-std::no-alloc"] categories = ["no-std", "no-std::no-alloc"]
description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]" description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]"
documentation = "https://serde.rs/derive.html" documentation = "https://serde.rs/derive.html"
edition = "2015"
homepage = "https://serde.rs" homepage = "https://serde.rs"
keywords = ["serde", "serialization", "no_std", "derive"] keywords = ["serde", "serialization", "no_std", "derive"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -4,6 +4,7 @@ version = "0.29.0"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"] authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
description = "AST representation used by Serde derive macros. Unstable." description = "AST representation used by Serde derive macros. Unstable."
documentation = "https://docs.rs/serde_derive_internals" documentation = "https://docs.rs/serde_derive_internals"
edition = "2015"
exclude = ["build.rs"] exclude = ["build.rs"]
homepage = "https://serde.rs" homepage = "https://serde.rs"
keywords = ["serde", "serialization"] keywords = ["serde", "serialization"]