Skip to content

Commit

Permalink
Rename serialization-serde to serde.
Browse files Browse the repository at this point in the history
  • Loading branch information
afck committed Jun 13, 2018
1 parent 4a10989 commit d64e440
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ serde = { version = "1.0", optional = true }
[features]
unstable-features = ["expose-arith"]
expose-arith = []
serialization-serde = ["serde"]
u128-support = []
default = []

Expand Down
4 changes: 2 additions & 2 deletions src/bls12_381/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ mod fq2;
mod fq6;
mod fr;

#[cfg(feature = "serde")]
mod serde_impl;
#[cfg(test)]
mod tests;
#[cfg(feature = "serialization-serde")]
mod serde_impl;

pub use self::ec::{
G1, G1Affine, G1Compressed, G1Prepared, G1Uncompressed, G2, G2Affine, G2Compressed, G2Prepared,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

extern crate byteorder;
extern crate rand;
#[cfg(feature = "serialization-serde")]
#[cfg(feature = "serde")]
extern crate serde;

#[cfg(test)]
Expand Down

0 comments on commit d64e440

Please sign in to comment.