More dependency cleanup (#825)

* Removes `rlp` dependency

* Enable warnings about unused crates in the CI

* Remove all the unused crates

* Make tests working again
This commit is contained in:
Bastian Köcher
2018-09-27 18:52:51 +02:00
committed by Gav Wood
parent bf0d009d65
commit 2332d6dd04
50 changed files with 41 additions and 334 deletions
-2
View File
@@ -14,7 +14,6 @@ substrate-keyring = { path = "../../core/keyring", optional = true }
substrate-primitives = { path = "../../core/primitives", default-features = false }
sr-std = { path = "../../core/sr-std", default-features = false }
sr-io = { path = "../../core/sr-io", default-features = false }
sr-sandbox = { path = "../../core/sr-sandbox", default-features = false }
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
srml-support = { path = "../support", default-features = false }
srml-balances = { path = "../balances", default-features = false }
@@ -35,7 +34,6 @@ std = [
"substrate-primitives/std",
"sr-std/std",
"sr-io/std",
"sr-sandbox/std",
"srml-support/std",
"sr-primitives/std",
"srml-balances/std",
+6 -3
View File
@@ -37,14 +37,17 @@ extern crate sr_std as rstd;
extern crate parity_codec_derive;
extern crate parity_codec as codec;
extern crate substrate_primitives;
extern crate sr_io as runtime_io;
extern crate sr_primitives as primitives;
extern crate srml_balances as balances;
extern crate srml_consensus as consensus;
extern crate sr_sandbox as sandbox;
extern crate srml_session as session;
extern crate srml_system as system;
#[cfg(test)]
extern crate substrate_primitives;
#[cfg(test)]
extern crate sr_io as runtime_io;
#[cfg(test)]
extern crate srml_timestamp as timestamp;
use rstd::prelude::*;