From 74f4cb7e59e14346fbf2b862d758167561c73bc7 Mon Sep 17 00:00:00 2001 From: Irakliy Khaburzaniya Date: Thu, 9 May 2024 13:33:22 -0700 Subject: [PATCH] removed deprecated modules --- utils/core/src/lib.rs | 13 ------------- verifier/src/lib.rs | 9 ++------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/utils/core/src/lib.rs b/utils/core/src/lib.rs index f8ed72a96..258eef71c 100644 --- a/utils/core/src/lib.rs +++ b/utils/core/src/lib.rs @@ -13,20 +13,7 @@ extern crate alloc; #[cfg(feature = "std")] extern crate std; -#[deprecated(since = "0.8.2", note = "You should prefer to import from `alloc::boxed::*`")] -pub mod boxed; -// TODO: Remove this when deprecation period for `boxed` module is over -#[allow(deprecated)] -pub use boxed::*; - -#[deprecated( - since = "0.8.2", - note = "You should prefer to import from `alloc::collections::*`" -)] -pub mod collections; pub mod iterators; -#[deprecated(since = "0.8.2", note = "You should prefer to import from `alloc::string::*`")] -pub mod string; use alloc::vec::Vec; use core::{mem, slice}; diff --git a/verifier/src/lib.rs b/verifier/src/lib.rs index 2ca08ae5c..a912270e8 100644 --- a/verifier/src/lib.rs +++ b/verifier/src/lib.rs @@ -31,6 +31,8 @@ #[macro_use] extern crate alloc; +use alloc::{string::ToString, vec::Vec}; + pub use air::{ proof::Proof, Air, AirContext, Assertion, BoundaryConstraint, BoundaryConstraintGroup, ConstraintCompositionCoefficients, ConstraintDivisor, DeepCompositionCoefficients, @@ -38,19 +40,12 @@ pub use air::{ }; use air::{AuxRandElements, GkrVerifier}; -use alloc::string::ToString; pub use math; use math::{ fields::{CubeExtension, QuadExtension}, FieldElement, ToElements, }; -#[deprecated( - since = "0.8.2", - note = "You should prefer the types from libstd/liballoc instead" -)] -#[allow(deprecated)] -pub use utils::collections::*; pub use utils::{ ByteReader, ByteWriter, Deserializable, DeserializationError, Serializable, SliceReader, };