Skip to content

Commit

Permalink
Add serial feature propagation for crates with serial features
Browse files Browse the repository at this point in the history
  • Loading branch information
iamalwaysuncomfortable committed Mar 22, 2023
1 parent 07073c4 commit 11e9236
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion algorithms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ msm = [ ]
polycommit = [ "crypto_hash", "fft", "msm", "rand_core" ]
polycommit_wasm = [ "polycommit", "snarkvm-parameters/wasm" ]
polycommit_full = [ "polycommit", "snarkvm-parameters/default" ]
serial = [ ]
serial = [ "snarkvm-curves/serial", "snarkvm-fields/serial", "snarkvm-utilities/serial" ]
snark = [ "crypto_hash", "fft", "msm", "polycommit" ]
1 change: 1 addition & 0 deletions console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ algorithms = [ "snarkvm-console-algorithms" ]
collections = [ "algorithms", "snarkvm-console-collections" ]
network = [ "collections", "snarkvm-console-network" ]
program = [ "network", "snarkvm-console-program" ]
serial = [ "snarkvm-console-collections/serial" ]
types = [ "snarkvm-console-types" ]
2 changes: 1 addition & 1 deletion curves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ rustc_version = "0.4"

[features]
default = [ "snarkvm-fields/default", "snarkvm-utilities/default" ]
serial = [ ]
serial = [ "snarkvm-fields/serial" ]
7 changes: 6 additions & 1 deletion synthesizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ required-features = [ "setup" ]
default = [ ]
aleo-cli = [ ]
cuda = [ "snarkvm-algorithms/cuda" ]
serial = [ ]
serial = [
"console/serial",
"snarkvm-algorithms/serial",
"snarkvm-curves/serial",
"snarkvm-fields/serial",
"snarkvm-utilities/serial" ]
setup = [ ]
timer = [ "aleo-std/timer" ]
wasm = [ ]
Expand Down
2 changes: 1 addition & 1 deletion utilities/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ default-features = false

[features]
default = [ "aleo-std/cpu", "derive", "num_cpus", "std"]
serial = [ ]
serial = [ "derive" ]
std = [ ]
derive = [ "snarkvm-utilities-derives" ]

0 comments on commit 11e9236

Please sign in to comment.