Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit a70ac87

Browse files
rphmeiergavofyork
authored andcommitted
runtime-storage macro (#86)
* initial draft of the macro * traits for all storage types * test for list wrapper * map API * move generator to runtime-support * specialize traits further for runtime storage * restore storage vec for unhashed
1 parent 929c9fb commit a70ac87

File tree

3 files changed

+662
-3
lines changed

3 files changed

+662
-3
lines changed

substrate/runtime-support/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020

2121
extern crate substrate_runtime_std as rstd;
2222
extern crate substrate_runtime_io as runtime_io;
23-
extern crate substrate_codec as codec;
2423
extern crate substrate_primitives as primitives;
2524

25+
#[doc(hidden)]
26+
pub extern crate substrate_codec as codec;
27+
pub use self::storage::generator::Storage as GenericStorage;
28+
2629
pub mod storage;
2730
mod hashable;
2831

0 commit comments

Comments
 (0)