From: Jason Ish Date: Mon, 22 May 2023 04:01:10 +0000 (-0600) Subject: rust: use 2021 edition X-Git-Tag: suricata-7.0.0-rc2~125 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F8907%2Fhead;p=thirdparty%2Fsuricata.git rust: use 2021 edition With the MSRV being bumped to 1.62 for 7.0, we can move the edition up to 2021. --- 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