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
@@ -8,7 +8,6 @@ hex-literal = "0.1.0"
serde = { version = "1.0", default-features = false }
serde_derive = { version = "1.0", optional = true }
safe-mix = { version = "1.0", default-features = false}
substrate-keyring = { path = "../../core/keyring", optional = true }
substrate-primitives = { path = "../../core/primitives", default-features = false }
parity-codec = { version = "2.0", default-features = false }
parity-codec-derive = { version = "2.0", default-features = false }
@@ -26,7 +25,6 @@ std = [
"serde/std",
"serde_derive",
"safe-mix/std",
"substrate-keyring",
"parity-codec/std",
"parity-codec-derive/std",
"substrate-primitives/std",
+3 -9
View File
@@ -19,19 +19,10 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "std")]
extern crate serde;
#[cfg(feature = "std")]
#[macro_use]
extern crate serde_derive;
#[cfg(any(feature = "std", test))]
extern crate substrate_keyring as keyring;
#[cfg(any(feature = "std", test))]
extern crate substrate_primitives;
#[cfg_attr(feature = "std", macro_use)]
extern crate sr_std as rstd;
@@ -41,6 +32,9 @@ extern crate srml_support as runtime_support;
#[macro_use]
extern crate parity_codec_derive;
#[cfg(test)]
extern crate substrate_primitives;
#[cfg(test)]
extern crate sr_io as runtime_io;
extern crate parity_codec as codec;
extern crate sr_primitives as primitives;