From ffad680e061dff1ac2fe30c2cbbb2d1d6e2f3461 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 1 Aug 2023 16:40:56 +0200 Subject: build: add temporary fix for predicates-tree MSRV change The MSRV of predicates-tree (a dependency of mockall) was changed to 1.64.0 and released as a patch release, making this project not buildable using Rust 1.63.0. This commit fixes that by making sure only the latest version of predicates-tree with a 1.63.0 MSRV is used --- Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9558741..6c7d6bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,16 @@ anyhow = "1.0.62" third-party-lib = { path = "./examples/with-3rd-party/third-party-lib" } tokio = { version = "1.20.1", features = ["macros", "rt-multi-thread", "time"] } +# The following is needed because of this change: +# https://github.com/assert-rs/predicates-rs/commit/7a961436d8c2b9cf09e9576a0c9341acb302f49c +# +# The predicates family of crates is a dependency of mockall. +# +# Follow this on +# https://github.com/asomers/mockall/issues/507 +predicates-tree = "=1.0.7" +predicates-core = "=1.0.5" + [workspace] members = [ "macros", -- cgit v1.2.3-18-g5258