From 2b46e305f2346ec84914249adf5f5f946f297602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 16 Jul 2025 10:45:54 +0200 Subject: [PATCH] chore: pin `rand` version used for fuzzing This `rand` version must be aligned with the `bnf` version used, as we pass a random number generator to `bnf::Grammar::generate`. In the next version of `bnf`, we can remove our `rand` dependency thanks to https://github.com/shnewto/bnf/pull/175. Until then, we should pin it with `=` syntax so renovate stops making PRs for it that can't be merged. --- fuzz/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index ceb07a7ec0..9cd07ba6d1 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -17,7 +17,8 @@ apollo-smith.workspace = true bnf = "0.5.0" env_logger = "0.11.0" log = "0.4" -rand = "0.8.0" +# Required until https://github.com/shnewto/bnf/pull/175, remove when bnf 0.6 is out +rand = "=0.8.5" reqwest = { workspace = true, features = ["json", "blocking"] } serde_json.workspace = true