diff --git a/crates/storage/Cargo.toml b/crates/storage/Cargo.toml index e4869b1bb81..e0d5d33dbbc 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -56,7 +56,6 @@ std = [ "scale-info/std", ] ink-fuzz-tests = ["std"] -ink-unstable = ["std"] [[bench]] name = "bench_lazy" diff --git a/crates/storage/src/collections/mod.rs b/crates/storage/src/collections/mod.rs index 7acd7d2b81f..07ade806f2e 100644 --- a/crates/storage/src/collections/mod.rs +++ b/crates/storage/src/collections/mod.rs @@ -22,7 +22,6 @@ pub mod binary_heap; pub mod bitstash; pub mod bitvec; pub mod hashmap; -#[cfg(feature = "ink-unstable")] pub mod smallvec; pub mod stash; pub mod vec; @@ -37,7 +36,6 @@ pub use self::{ vec::Vec, }; -#[cfg(feature = "ink-unstable")] #[doc(inline)] pub use self::smallvec::SmallVec; diff --git a/crates/storage/src/collections/smallvec/storage.rs b/crates/storage/src/collections/smallvec/storage.rs index 510ec1b7252..cabbe2d1d87 100644 --- a/crates/storage/src/collections/smallvec/storage.rs +++ b/crates/storage/src/collections/smallvec/storage.rs @@ -21,9 +21,10 @@ use crate::traits::{ #[cfg(feature = "std")] const _: () = { - #[cfg(feature = "ink-unstable")] - use crate::lazy::LazyArray; - use crate::traits::StorageLayout; + use crate::{ + lazy::LazyArray, + traits::StorageLayout, + }; use ink_metadata::layout::{ FieldLayout, Layout, diff --git a/crates/storage/src/lazy/mod.rs b/crates/storage/src/lazy/mod.rs index be22d26f6d0..f3dcf5d13e6 100644 --- a/crates/storage/src/lazy/mod.rs +++ b/crates/storage/src/lazy/mod.rs @@ -28,12 +28,10 @@ pub mod lazy_hmap; mod cache_cell; mod entry; -#[cfg(feature = "ink-unstable")] mod lazy_array; mod lazy_cell; mod lazy_imap; -#[cfg(feature = "ink-unstable")] #[doc(inline)] pub use self::lazy_array::LazyArray; use self::{