re-export serde in ciphersuite crates (#573)

This commit is contained in:
Conrado Gouvea 2023-11-10 14:27:41 -03:00 committed by GitHub
parent 408540fb86
commit e69002e0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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