From 413432c43e6830c6ff9da1d88ae51c7e68f0ee0b Mon Sep 17 00:00:00 2001 From: Palana Date: Fri, 10 Apr 2020 21:26:08 +0200 Subject: [PATCH] Fix required lock_api version As of https://github.com/Amanieu/parking_lot/commit/c20495bcc5b3e26cd835ec52aea917b44724d7c3 the additions to lock_api in https://github.com/Amanieu/parking_lot/commit/a9961d4ec400ef54a49183f9063ddf40f2ca23e7 are required to build parking_lot; building with lock_api 0.3.{1,2,3} fails due to missing `_::const_new` functions --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f250c951..30d3fd48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] parking_lot_core = { path = "core", version = "0.7.0" } -lock_api = { path = "lock_api", version = "0.3.1" } +lock_api = { path = "lock_api", version = "0.3.4" } [dev-dependencies] rand = "0.7"