Skip to content

Commit

Permalink
re-export serde in ciphersuite crates (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Nov 10, 2023
1 parent 408540f commit e69002e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions frost-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Entries are listed in reverse chronological order.
* Added `PublicKeyPackage::from_commitment()` and
`PublicKeyPackage::from_dkg_commitments` to create a `PublicKeyPackage` from
the commitments generated in trusted dealer or distributed key generation.
* Ciphersuite crates now re-export `serde` if enabled.

## Released

Expand Down
2 changes: 1 addition & 1 deletion frost-ed25519/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use frost_core as frost;
mod tests;

// Re-exports in our public API
pub use frost_core::{Ciphersuite, Field, FieldError, Group, GroupError};
pub use frost_core::{serde, Ciphersuite, Field, FieldError, Group, GroupError};
pub use rand_core;

/// An error.
Expand Down
2 changes: 1 addition & 1 deletion frost-ed448/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use frost_core as frost;
mod tests;

// Re-exports in our public API
pub use frost_core::{Ciphersuite, Field, FieldError, Group, GroupError};
pub use frost_core::{serde, Ciphersuite, Field, FieldError, Group, GroupError};
pub use rand_core;

/// An error.
Expand Down
2 changes: 1 addition & 1 deletion frost-p256/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use frost_core as frost;
mod tests;

// Re-exports in our public API
pub use frost_core::{Ciphersuite, Field, FieldError, Group, GroupError};
pub use frost_core::{serde, Ciphersuite, Field, FieldError, Group, GroupError};
pub use rand_core;

/// An error.
Expand Down
2 changes: 1 addition & 1 deletion frost-ristretto255/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use frost_core as frost;
mod tests;

// Re-exports in our public API
pub use frost_core::{Ciphersuite, Field, FieldError, Group, GroupError};
pub use frost_core::{serde, Ciphersuite, Field, FieldError, Group, GroupError};
pub use rand_core;

/// An error.
Expand Down
2 changes: 1 addition & 1 deletion frost-secp256k1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use frost_core as frost;
mod tests;

// Re-exports in our public API
pub use frost_core::{Ciphersuite, Field, FieldError, Group, GroupError};
pub use frost_core::{serde, Ciphersuite, Field, FieldError, Group, GroupError};
pub use rand_core;

/// An error.
Expand Down

0 comments on commit e69002e

Please sign in to comment.