From 7e6dbcd851e14f2e59c74e742dd5c81b2cbcbc70 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 4 May 2024 16:57:33 +0200 Subject: [PATCH] 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. --- rust/Cargo.toml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.2