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 --- macros/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'macros/Cargo.toml') diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 679e6b4..7349bed 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -36,3 +36,13 @@ mockall = "0.11.4" pretty_assertions = "1.3.0" syn = { version = "1.0.96", features = ["full", "extra-traits"] } utility-macros = { git = "https://git.hampusmat.com/utility-macros" } + +# 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" -- cgit v1.2.3-18-g5258