]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/time: add note why this needs to be pinned 8798/head
authorJason Ish <jason.ish@oisf.net>
Tue, 2 May 2023 20:50:53 +0000 (14:50 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 2 May 2023 20:50:53 +0000 (14:50 -0600)
rust/Cargo.toml.in

index b2d0740fc4098c0e2b8f7a543aadb247ec64fb5b..9e73ac0fef4f760555c8b51c2312e9ccca82e7a8 100644 (file)
@@ -60,10 +60,13 @@ md-5 = "~0.10.1"
 regex = "~1.5.5"
 lazy_static = "~1.4.0"
 base64 = "~0.13.0"
-time = "=0.3.13"
 bendy = { version = "~0.3.3", default-features = false }
 asn1-rs = { version = "~0.5.2" }
 
+# The time crate has a policy of supporting Rust versions up to 6
+# month olds, so it needs to be pinned even at the patch level.
+time = "=0.3.13"
+
 suricata-derive = { path = "./derive" }
 
 [dev-dependencies]