From a2edfc0a1243d229ef4b007b5ed76908403abe21 Mon Sep 17 00:00:00 2001 From: Austin Jones Date: Fri, 4 Dec 2020 12:58:07 -0500 Subject: [PATCH] Require linked-hash-map v0.5.3 (or a newer patch version) This commit requires linked-hash-map to include https://github.com/contain-rs/linked-hash-map/pull/100 When linked-hash-map is on v0.5.2, ttl_cache can panic due to the UB checks implemented in Rust 1.48: https://github.com/rust-lang/rust/issues/66151 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 71995dc..dbb5fa5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["cache","ttl","expire"] license = "MIT/Apache-2.0" [dependencies] -linked-hash-map = "0.5" +linked-hash-map = "~0.5.3" [features]