Skip to content

Commit

Permalink
removed deprecated modules
Browse files Browse the repository at this point in the history
  • Loading branch information
irakliyk committed May 9, 2024
1 parent 9b14911 commit 74f4cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
13 changes: 0 additions & 13 deletions utils/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
9 changes: 2 additions & 7 deletions verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,21 @@
#[macro_use]
extern crate alloc;

use alloc::{string::ToString, vec::Vec};

pub use air::{
proof::Proof, Air, AirContext, Assertion, BoundaryConstraint, BoundaryConstraintGroup,
ConstraintCompositionCoefficients, ConstraintDivisor, DeepCompositionCoefficients,
EvaluationFrame, FieldExtension, ProofOptions, TraceInfo, TransitionConstraintDegree,
};
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,
};
Expand Down

0 comments on commit 74f4cb7

Please sign in to comment.