Split out substrate-primitives from polkadot-primitives.

Bottom half minus tests builds.
This commit is contained in:
Gav
2018-02-07 15:24:54 +01:00
parent 26b4b56402
commit 9fe85fc9f4
50 changed files with 1102 additions and 928 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
substrate-runtime-std = { path = "../runtime-std", default_features = false }
[features]
std = []
default = ["std"]
std = ["substrate-runtime-std/std"]
+1
View File
@@ -30,6 +30,7 @@ pub use self::slicable::{Slicable, NonTrivialSlicable};
pub use self::joiner::Joiner;
pub use self::keyedvec::KeyedVec;
// TODO: move these into runtime-std and `extern crate runtime_std as std;`
#[cfg(not(feature = "std"))]
mod std {
extern crate alloc;