Skip to content

Commit

Permalink
Make u64 a default feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cronokirby committed Jan 12, 2024
1 parent c9908e8 commit ad80ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ hashbrown = "0.14.3"
# a default feature of std - without the ark-std std feature, decaf377 doesn't
# compile
[features]
default = ["std"]
default = ["std", "u64"]
std = ["ark-std/std", "tracing/std", "anyhow/std", "tracing-subscriber/std", "zeroize/std", "once_cell/std", "num-bigint/std", "hex/std" ]
parallel = ["ark-ff/parallel", "ark-ec/parallel", "ark-groth16/parallel", "ark-std/parallel", "ark-r1cs-std/parallel"]
r1cs = ["ark-r1cs-std", "ark-groth16", "ark-snark"]
Expand Down
2 changes: 1 addition & 1 deletion src/fields/fp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub mod u32;
pub mod u64;

#[cfg(all(not(feature = "u32"), not(feature = "u64")))]
// compile_error!("No backend selected. Please select either: 'u32_backend' or 'u64_backend'.");
compile_error!("No backend selected. Please select either: 'u32_backend' or 'u64_backend'.");
#[cfg(all(feature = "u32", feature = "u64"))]
compile_error!(
"Multiple backends selected. Please select only one: 'u32_backend' or 'u64_backend'."
Expand Down

0 comments on commit ad80ae2

Please sign in to comment.