aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml10
-rw-r--r--macros/Cargo.toml10
2 files changed, 20 insertions, 0 deletions
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",
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"