Skip to content

Commit 4628634

Browse files
committed
Some additional re-exports
1 parent d80078f commit 4628634

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@
127127

128128
use ark_ec::{AffineRepr, CurveGroup};
129129
use ark_ff::{One, PrimeField, Zero};
130-
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
131130
use ark_std::vec::Vec;
132131

133132
use digest::Digest;
@@ -145,7 +144,8 @@ pub mod ring;
145144
#[cfg(test)]
146145
mod testing;
147146

148-
use codec::Codec;
147+
// Some essential re-exports
148+
pub use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
149149

150150
/// Re-export stuff that may be useful downstream.
151151
pub mod reexports {
@@ -155,6 +155,8 @@ pub mod reexports {
155155
pub use ark_std;
156156
}
157157

158+
use codec::Codec;
159+
158160
pub type AffinePoint<S> = <S as Suite>::Affine;
159161
pub type BaseField<S> = <AffinePoint<S> as AffineRepr>::BaseField;
160162
pub type ScalarField<S> = <AffinePoint<S> as AffineRepr>::ScalarField;

0 commit comments

Comments
 (0)