5555//!
5656//! // See tests for more examples
5757//! ```
58- use crate :: error:: BBSPlusError ;
59- use crate :: prelude:: PreparedPublicKeyG2 ;
60- use crate :: setup:: { PreparedSignatureParamsG1 , SignatureParamsG1 } ;
61- use crate :: signature:: SignatureG1 ;
58+ use crate :: {
59+ error:: BBSPlusError ,
60+ prelude:: PreparedPublicKeyG2 ,
61+ setup:: { PreparedSignatureParamsG1 , SignatureParamsG1 } ,
62+ signature:: SignatureG1 ,
63+ } ;
6264use ark_ec:: { pairing:: Pairing , AffineRepr , CurveGroup , VariableBaseMSM } ;
6365use ark_ff:: { Field , PrimeField , Zero } ;
6466use ark_serialize:: { CanonicalDeserialize , CanonicalSerialize } ;
@@ -71,9 +73,10 @@ use ark_std::{
7173 vec:: Vec ,
7274 One , UniformRand ,
7375} ;
74- use dock_crypto_utils:: extend_some:: ExtendSome ;
75- use dock_crypto_utils:: randomized_pairing_check:: RandomizedPairingChecker ;
76- use dock_crypto_utils:: { misc:: rand, serde_utils:: * } ;
76+ use dock_crypto_utils:: {
77+ extend_some:: ExtendSome , misc:: rand, randomized_pairing_check:: RandomizedPairingChecker ,
78+ serde_utils:: * ,
79+ } ;
7780use itertools:: multiunzip;
7881use schnorr_pok:: { error:: SchnorrError , SchnorrCommitment , SchnorrResponse } ;
7982use serde:: { Deserialize , Serialize } ;
@@ -527,8 +530,7 @@ where
527530#[ cfg( test) ]
528531mod tests {
529532 use super :: * ;
530- use crate :: setup:: KeypairG2 ;
531- use crate :: test_serialization;
533+ use crate :: { setup:: KeypairG2 , test_serialization} ;
532534 use ark_bls12_381:: Bls12_381 ;
533535 use ark_serialize:: CanonicalDeserialize ;
534536 use ark_std:: {
0 commit comments