[][src]Crate storagevec

Provides two types: StorageVec and StorageMap. These will either use stack-based storage methods or heap-based storage methods, based on if the alloc feature is enabled.

The idea behind this crate is to allow crates that require vector or map types to be able to be no_std by allowing heap storage to be toggled on or off via features.

Re-exports

pub use smap::*;
pub use svec::*;

Modules

smap

Contains the StorageMap; a feature-gated map structure that alternates between stack and heap storage depending on the alloc feature.

svec

Contains the StorageVec; a feature-gated vector structure that alternates between stack and heap storage depending on the alloc feature.