Skip to content

Commit 85a197d

Browse files
committed
Set default-features = false on new internal dependencies
All new binius crate dependencies introduced in this PR should use default-features = false, with rayon features wired up through dependent feature flags. Also applies the same pattern to binius-spartan-prover's existing dependencies.
1 parent 842faab commit 85a197d

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

crates/prover/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ workspace = true
1111
binius-core = { path = "../core" }
1212
binius-field = { path = "../field" }
1313
binius-hash = { path = "../hash", default-features = false }
14-
binius-iop = { path = "../iop" }
14+
binius-iop = { path = "../iop", default-features = false }
1515
binius-iop-prover = { path = "../iop-prover", default-features = false }
1616
binius-ip-prover = { path = "../ip-prover", default-features = false }
1717
binius-math = { path = "../math" }
18-
binius-spartan-frontend = { path = "../spartan-frontend" }
18+
binius-spartan-frontend = { path = "../spartan-frontend", default-features = false }
1919
binius-spartan-prover = { path = "../spartan-prover", default-features = false }
20-
binius-spartan-verifier = { path = "../spartan-verifier" }
20+
binius-spartan-verifier = { path = "../spartan-verifier", default-features = false }
2121
binius-transcript = { path = "../transcript" }
2222
binius-verifier = { path = "../verifier", default-features = false }
2323
binius-utils = { path = "../utils" }
@@ -91,4 +91,4 @@ harness = false
9191

9292
[features]
9393
default = ["rayon"]
94-
rayon = ["binius-utils/rayon", "binius-hash/rayon", "binius-iop-prover/rayon", "binius-ip-prover/rayon"]
94+
rayon = ["binius-utils/rayon", "binius-hash/rayon", "binius-iop/rayon", "binius-iop-prover/rayon", "binius-ip-prover/rayon", "binius-spartan-prover/rayon"]

crates/spartan-prover/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ workspace = true
99

1010
[dependencies]
1111
binius-field = { path = "../field" }
12-
binius-iop = { path = "../iop" }
13-
binius-iop-prover = { path = "../iop-prover" }
14-
binius-ip = { path = "../ip" }
15-
binius-ip-prover = { path = "../ip-prover" }
16-
binius-math = { path = "../math" }
17-
binius-transcript = { path = "../transcript" }
18-
binius-spartan-frontend = { path = "../spartan-frontend" }
19-
binius-spartan-verifier = { path = "../spartan-verifier" }
20-
binius-utils = { path = "../utils" }
2112
binius-hash = { path = "../hash", default-features = false }
13+
binius-iop = { path = "../iop", default-features = false }
14+
binius-iop-prover = { path = "../iop-prover", default-features = false }
15+
binius-ip = { path = "../ip", default-features = false }
16+
binius-ip-prover = { path = "../ip-prover", default-features = false }
17+
binius-math = { path = "../math", default-features = false }
18+
binius-transcript = { path = "../transcript", default-features = false }
19+
binius-spartan-frontend = { path = "../spartan-frontend", default-features = false }
20+
binius-spartan-verifier = { path = "../spartan-verifier", default-features = false }
21+
binius-utils = { path = "../utils", default-features = false }
2222
digest.workspace = true
2323
itertools.workspace = true
2424
rand.workspace = true
@@ -38,4 +38,4 @@ smallvec.workspace = true
3838

3939
[features]
4040
default = ["rayon"]
41-
rayon = ["binius-utils/rayon"]
41+
rayon = ["binius-utils/rayon", "binius-hash/rayon", "binius-iop/rayon", "binius-iop-prover/rayon", "binius-ip-prover/rayon", "binius-math/rayon"]

crates/verifier/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ binius-hash = { path = "../hash", default-features = false }
1515
binius-iop = { path = "../iop", default-features = false }
1616
binius-math = { path = "../math" }
1717
binius-transcript = { path = "../transcript" }
18-
binius-spartan-frontend = { path = "../spartan-frontend" }
19-
binius-spartan-verifier = { path = "../spartan-verifier" }
18+
binius-spartan-frontend = { path = "../spartan-frontend", default-features = false }
19+
binius-spartan-verifier = { path = "../spartan-verifier", default-features = false }
2020
binius-utils = { path = "../utils" }
2121
bytemuck.workspace = true
2222
bytes.workspace = true

0 commit comments

Comments
 (0)