Place ff_derive re-exports behind a feature

Part of #3.
This commit is contained in:
Jack Grigg
2018-07-02 23:08:08 +01:00
parent 002173e187
commit 69ce66ae6c
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -3,9 +3,11 @@
extern crate byteorder;
extern crate rand;
#[cfg(feature = "derive")]
#[macro_use]
extern crate ff_derive;
#[cfg(feature = "derive")]
pub use ff_derive::*;
use std::error::Error;