From 16af2d9ce77cf45d6fc1ddeb352a676d9bceee8d Mon Sep 17 00:00:00 2001 From: Vishal Kumar Date: Sun, 27 Apr 2025 12:31:12 +0530 Subject: [PATCH] Update a Rust edition to 2021 across project files Updated the Cargo.toml files for test suites and a link in the README to use Rust edition 2021 instead of 2018. This ensures compatibility with the latest Rust features and standards. --- README.md | 2 +- test_suite/Cargo.toml | 2 +- test_suite/no_std/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e62820e7..eda660c2 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ You may be looking for:
Click to show Cargo.toml. -Run this code in the playground. +Run this code in the playground. ```toml diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.toml index 4076e735..4b5df83a 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 = "2021" publish = false [features] diff --git a/test_suite/no_std/Cargo.toml b/test_suite/no_std/Cargo.toml index 9c8f6aa5..7909a2d6 100644 --- a/test_suite/no_std/Cargo.toml +++ b/test_suite/no_std/Cargo.toml @@ -2,7 +2,7 @@ name = "serde_derive_tests_no_std" version = "0.0.0" authors = ["David Tolnay "] -edition = "2018" +edition = "2021" publish = false [dependencies]