fix[pallas-math]: use malachite as default

This commit is contained in:
Andrew Westberg 2024-09-09 14:03:01 +00:00
parent 20befb28ac
commit 2477c7c44a
11 changed files with 835 additions and 1536 deletions

View file

@ -1,14 +1,2 @@
pub mod math;
// Ensure only one of `gmp` or `num` is enabled, not both.
#[cfg(all(feature = "gmp", feature = "num"))]
compile_error!("Features `gmp` and `num` are mutually exclusive.");
#[cfg(all(not(feature = "gmp"), not(feature = "num")))]
compile_error!("One of the features `gmp` or `num` must be enabled.");
#[cfg(feature = "gmp")]
pub mod math_gmp;
#[cfg(feature = "num")]
pub mod math_num;
pub mod math_malachite;