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