From 72ff74df260ac294e6b59f36c55dc6e46fd78f11 Mon Sep 17 00:00:00 2001 From: zachs18 <8355914+zachs18@users.noreply.github.com> Date: Tue, 30 Jul 2024 05:25:14 +0000 Subject: [PATCH] Update to Edition 2021. (#359) smallvec v2's MSRV is already 1.57.0, which is after the relase of Edition 2021 in 1.56.0. Apply fix for Cargo.toml dev_dependencies warning given by cargo fix --edition. --- Cargo.toml | 4 ++-- fuzz/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e8d1e5d..7ec67e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "smallvec" version = "2.0.0-alpha.7" -edition = "2018" +edition = "2021" rust-version = "1.57" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" @@ -21,7 +21,7 @@ extract_if = [] [dependencies] serde = { version = "1", optional = true, default-features = false } -[dev_dependencies] +[dev-dependencies] bincode = "1.0.1" [package.metadata.docs.rs] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index abec429..ebaf78b 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -2,7 +2,7 @@ name = "smallvec-fuzz" version = "0.1.0" authors = ["Dawid Ciężarkiewicz "] -edition = "2018" +edition = "2021" publish = false [package.metadata]