From 48cc81bc2e84a29d0989d9b0573f628c1d0de9a7 Mon Sep 17 00:00:00 2001 From: Daira Emma Hopwood Date: Wed, 22 Nov 2023 14:06:14 +0000 Subject: [PATCH] Pin rayon < 1.8.0 to keep MSRV 1.59. Signed-off-by: Daira Emma Hopwood --- halo2_proofs/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/halo2_proofs/Cargo.toml b/halo2_proofs/Cargo.toml index 6368bddc99..30a32f4ddc 100644 --- a/halo2_proofs/Cargo.toml +++ b/halo2_proofs/Cargo.toml @@ -53,6 +53,9 @@ tracing = "0.1" blake2b_simd = "1" maybe-rayon = {version = "0.1.0", default-features = false} +# Indirect dependencies, pin for now to preserve MSRV. +rayon = { version = ">=0.1, <1.8.0", default-features = false, optional = true } # via maybe-rayon; rayon 1.8.0 has MSRV 1.63 + # Developer tooling dependencies plotters = { version = "0.3.0", default-features = false, optional = true } tabbycat = { version = "0.1", features = ["attributes"], optional = true } @@ -77,7 +80,7 @@ getrandom = { version = "0.2", features = ["js"] } [features] default = ["batch", "multicore"] -multicore = ["maybe-rayon/threads"] +multicore = ["maybe-rayon/threads", "rayon"] dev-graph = ["plotters", "tabbycat"] test-dev-graph = [ "dev-graph",