Skip to content

Commit d1c316e

Browse files
author
Michael Müller
authored
Remove ink-unstable feature (#746)
* Remove `ink-unstable` feature * Apply cargo fmt
1 parent 65c4ba7 commit d1c316e

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

crates/storage/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ std = [
5656
"scale-info/std",
5757
]
5858
ink-fuzz-tests = ["std"]
59-
ink-unstable = ["std"]
6059

6160
[[bench]]
6261
name = "bench_lazy"

crates/storage/src/collections/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub mod binary_heap;
2222
pub mod bitstash;
2323
pub mod bitvec;
2424
pub mod hashmap;
25-
#[cfg(feature = "ink-unstable")]
2625
pub mod smallvec;
2726
pub mod stash;
2827
pub mod vec;
@@ -37,7 +36,6 @@ pub use self::{
3736
vec::Vec,
3837
};
3938

40-
#[cfg(feature = "ink-unstable")]
4139
#[doc(inline)]
4240
pub use self::smallvec::SmallVec;
4341

crates/storage/src/collections/smallvec/storage.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ use crate::traits::{
2121

2222
#[cfg(feature = "std")]
2323
const _: () = {
24-
#[cfg(feature = "ink-unstable")]
25-
use crate::lazy::LazyArray;
26-
use crate::traits::StorageLayout;
24+
use crate::{
25+
lazy::LazyArray,
26+
traits::StorageLayout,
27+
};
2728
use ink_metadata::layout::{
2829
FieldLayout,
2930
Layout,

crates/storage/src/lazy/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ pub mod lazy_hmap;
2828

2929
mod cache_cell;
3030
mod entry;
31-
#[cfg(feature = "ink-unstable")]
3231
mod lazy_array;
3332
mod lazy_cell;
3433
mod lazy_imap;
3534

36-
#[cfg(feature = "ink-unstable")]
3735
#[doc(inline)]
3836
pub use self::lazy_array::LazyArray;
3937
use self::{

0 commit comments

Comments
 (0)