diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-01 16:40:56 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-01 16:40:56 +0200 |
commit | ffad680e061dff1ac2fe30c2cbbb2d1d6e2f3461 (patch) | |
tree | 07c3d91606b4a215898915dc99f6e3de1eb12d32 /Cargo.toml | |
parent | 3b5eae15afcd29a1775bb8ea046d6f42d996f67c (diff) |
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
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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", |