From 039c27789bda792f1be37706afe5afb2cd12ac51 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Sun, 21 May 2023 22:01:10 -0600 Subject: [PATCH] rust: use 2021 edition With the MSRV being bumped to 1.62 for 7.0, we can move the edition up to 2021. --- rust/Cargo.toml.in | 2 +- rust/derive/Cargo.toml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 9e73ac0fef..303994aac4 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -1,7 +1,7 @@ [package] name = "suricata" version = "@PACKAGE_VERSION@" -edition = "2018" +edition = "2021" [workspace] members = [".", "./derive"] diff --git a/rust/derive/Cargo.toml.in b/rust/derive/Cargo.toml.in index bf843f8f96..830ddd38ab 100644 --- a/rust/derive/Cargo.toml.in +++ b/rust/derive/Cargo.toml.in @@ -1,7 +1,7 @@ [package] name = "suricata-derive" version = "@PACKAGE_VERSION@" -edition = "2018" +edition = "2021" [lib] proc-macro = true -- 2.47.2