File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 127127
128128use ark_ec:: { AffineRepr , CurveGroup } ;
129129use ark_ff:: { One , PrimeField , Zero } ;
130- use ark_serialize:: { CanonicalDeserialize , CanonicalSerialize } ;
131130use ark_std:: vec:: Vec ;
132131
133132use digest:: Digest ;
@@ -145,7 +144,8 @@ pub mod ring;
145144#[ cfg( test) ]
146145mod 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.
151151pub mod reexports {
@@ -155,6 +155,8 @@ pub mod reexports {
155155 pub use ark_std;
156156}
157157
158+ use codec:: Codec ;
159+
158160pub type AffinePoint < S > = <S as Suite >:: Affine ;
159161pub type BaseField < S > = <AffinePoint < S > as AffineRepr >:: BaseField ;
160162pub type ScalarField < S > = <AffinePoint < S > as AffineRepr >:: ScalarField ;
You can’t perform that action at this time.
0 commit comments