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
+5 -5
View File
@@ -19,12 +19,7 @@
extern crate node_runtime;
#[macro_use] extern crate substrate_executor;
extern crate parity_codec as codec;
extern crate substrate_state_machine as state_machine;
extern crate sr_io as runtime_io;
extern crate substrate_primitives as primitives;
extern crate node_primitives;
extern crate substrate_trie as trie;
#[cfg(test)] extern crate substrate_keyring as keyring;
#[cfg(test)] extern crate sr_primitives as runtime_primitives;
@@ -36,6 +31,11 @@ extern crate substrate_trie as trie;
#[cfg(test)] extern crate srml_consensus as consensus;
#[cfg(test)] extern crate srml_timestamp as timestamp;
#[cfg(test)] extern crate srml_treasury as treasury;
#[cfg(test)] extern crate node_primitives;
#[cfg(test)] extern crate parity_codec as codec;
#[cfg(test)] extern crate sr_io as runtime_io;
#[cfg(test)] extern crate substrate_trie as trie;
#[cfg(test)] extern crate substrate_state_machine as state_machine;
#[cfg(test)] #[macro_use] extern crate hex_literal;
pub use substrate_executor::NativeExecutor;