From: Victor Julien Date: Sat, 4 May 2024 14:57:33 +0000 (+0200) Subject: rust: fix compilation error on MSRV X-Git-Tag: suricata-6.0.20~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6dbcd851e14f2e59c74e742dd5c81b2cbcbc70;p=thirdparty%2Fsuricata.git rust: fix compilation error on MSRV Caused by: failed to parse manifest at `/builds/inliniac/suricata-ci/suricata/rust/vendor/num-traits/Cargo.toml` Caused by: failed to parse the `edition` key Caused by: supported edition values are `2015` or `2018`, but `2021` is unknown Lock to last working version 0.2.18. Ticket: #7007. --- diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 13c3cf21aa..28a6958d16 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -29,7 +29,7 @@ crc = "1.8" memchr = "~ 2.3" num = "0.2" num-derive = "0.2" -num-traits = "0.2" +num-traits = "=0.2.18" widestring = "0.4" md5 = "0.7.0" flate2 = { version = "1.0", optional = true }