From c4abcd5fd1a5c71413ba44e1c7b8b7a67376b593 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 14 Feb 2023 19:03:07 +0000 Subject: [PATCH] Disable default features of halo2_proofs in other crates Now that `multicore` is a default feature instead of just being always on, we can ensure it is not enabled just as a result of depending on `halo2_gadgets` or `halo2`. --- halo2/Cargo.toml | 2 +- halo2_gadgets/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/halo2/Cargo.toml b/halo2/Cargo.toml index ffe105cf21..5785af5a9a 100644 --- a/halo2/Cargo.toml +++ b/halo2/Cargo.toml @@ -19,7 +19,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"] [dependencies] -halo2_proofs = { version = "0.2", path = "../halo2_proofs" } +halo2_proofs = { version = "0.2", path = "../halo2_proofs", default-features = false } [lib] bench = false diff --git a/halo2_gadgets/Cargo.toml b/halo2_gadgets/Cargo.toml index 62b905e149..7604b5b7a7 100644 --- a/halo2_gadgets/Cargo.toml +++ b/halo2_gadgets/Cargo.toml @@ -26,7 +26,7 @@ arrayvec = "0.7.0" bitvec = "1" ff = "0.13" group = "0.13" -halo2_proofs = { version = "0.2", path = "../halo2_proofs" } +halo2_proofs = { version = "0.2", path = "../halo2_proofs", default-features = false } lazy_static = "1" pasta_curves = "0.5" proptest = { version = "1.0.0", optional = true }