From 6205c016d69e9c3136fb6d82d503157b1d5cd087 Mon Sep 17 00:00:00 2001 From: Pana Date: Tue, 5 Nov 2024 20:49:49 +0800 Subject: [PATCH] upgrade rust edition to 2021 --- cargo-ledger/Cargo.toml | 2 +- testmacro/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cargo-ledger/Cargo.toml b/cargo-ledger/Cargo.toml index 6ab648d0..a960b9d0 100644 --- a/cargo-ledger/Cargo.toml +++ b/cargo-ledger/Cargo.toml @@ -7,7 +7,7 @@ categories = ["development-tools::cargo-plugins"] repository = "https://github.com/LedgerHQ/cargo-ledger" readme = "README.md" license = "Apache-2.0" -edition = "2018" +edition = "2021" [dependencies] cargo_metadata = "0.11.0" diff --git a/testmacro/Cargo.toml b/testmacro/Cargo.toml index dc211a41..6a5b183d 100644 --- a/testmacro/Cargo.toml +++ b/testmacro/Cargo.toml @@ -2,7 +2,7 @@ name = "testmacro" version = "0.1.0" authors = ["yhql "] -edition = "2018" +edition = "2021" license.workspace = true repository.workspace = true description = "procedural macro used to run unit and integration tests"