]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: use 2021 edition 8907/head
authorJason Ish <jason.ish@oisf.net>
Mon, 22 May 2023 04:01:10 +0000 (22:01 -0600)
committerJason Ish <jason.ish@oisf.net>
Mon, 22 May 2023 04:02:02 +0000 (22:02 -0600)
With the MSRV being bumped to 1.62 for 7.0, we can move the edition up
to 2021.

rust/Cargo.toml.in
rust/derive/Cargo.toml.in

index 9e73ac0fef4f760555c8b51c2312e9ccca82e7a8..303994aac49160d69b012617a76698512d2b70a0 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 name = "suricata"
 version = "@PACKAGE_VERSION@"
-edition = "2018"
+edition = "2021"
 
 [workspace]
 members = [".", "./derive"]
index bf843f8f9687356a88ef16f48531c6a24105951a..830ddd38ab417b1f7760902bae84121e0002bfd6 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 name = "suricata-derive"
 version = "@PACKAGE_VERSION@"
-edition = "2018"
+edition = "2021"
 
 [lib]
 proc-macro = true