Mark wnaf module unstable via feature unstable-wnaf. Closes #13.
This commit is contained in:
@@ -62,6 +62,10 @@ pub fn curve_tests<G: CurveProjective>()
|
||||
random_encoding_tests::<G::Affine>();
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "unstable-wnaf"))]
|
||||
fn random_wnaf_tests<G: CurveProjective>() { }
|
||||
|
||||
#[cfg(feature = "unstable-wnaf")]
|
||||
fn random_wnaf_tests<G: CurveProjective>() {
|
||||
use ::wnaf::*;
|
||||
use ::PrimeField;
|
||||
|
||||
Reference in New Issue
Block a user