diff --git a/plonky2/src/util/serialization/gate_serialization.rs b/plonky2/src/util/serialization/gate_serialization.rs index c26e60d3f2..eb85309992 100644 --- a/plonky2/src/util/serialization/gate_serialization.rs +++ b/plonky2/src/util/serialization/gate_serialization.rs @@ -1,9 +1,10 @@ //! A module to help with GateRef serialization +// For macros below #[cfg(not(feature = "std"))] -use alloc::vec::Vec; +pub use alloc::vec::Vec; #[cfg(feature = "std")] -use std::vec::Vec; // For macros below +pub use std::vec::Vec; use plonky2_field::extension::Extendable;