Mark wnaf module unstable via feature unstable-wnaf. Closes #13.

This commit is contained in:
Sean Bowe
2017-07-14 11:56:55 -06:00
parent 806d34b39a
commit 2090e76794
3 changed files with 9 additions and 0 deletions

View File

@@ -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;