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
View File
@@ -8,7 +8,6 @@ error-chain = "0.12"
fnv = "1.0"
log = "0.4"
parking_lot = "0.4"
trie-root = { git = "https://github.com/paritytech/trie" }
hex-literal = "0.1"
futures = "0.1.17"
slog = "^2"
@@ -17,17 +16,13 @@ substrate-bft = { path = "../bft" }
parity-codec = "2.0"
substrate-executor = { path = "../executor" }
substrate-primitives = { path = "../primitives" }
sr-io = { path = "../sr-io" }
sr-primitives = { path = "../sr-primitives" }
substrate-state-machine = { path = "../state-machine" }
substrate-keyring = { path = "../keyring" }
substrate-trie = { path = "../trie" }
substrate-telemetry = { path = "../telemetry" }
hash-db = { git = "https://github.com/paritytech/trie" }
trie-db = { git = "https://github.com/paritytech/trie" }
rlp = "0.2.4"
kvdb = "0.1"
memory-db = { git = "https://github.com/paritytech/trie" }
[dev-dependencies]
substrate-test-client = { path = "../test-client" }
-1
View File
@@ -9,7 +9,6 @@ log = "0.4"
kvdb = "0.1"
kvdb-rocksdb = "0.1.3"
hash-db = { git = "https://github.com/paritytech/trie" }
memory-db = { git = "https://github.com/paritytech/trie" }
substrate-primitives = { path = "../../primitives" }
sr-primitives = { path = "../../sr-primitives" }
substrate-client = { path = "../../client" }
-1
View File
@@ -31,7 +31,6 @@ extern crate substrate_client as client;
extern crate kvdb_rocksdb;
extern crate kvdb;
extern crate hash_db;
extern crate memory_db;
extern crate parking_lot;
extern crate substrate_state_machine as state_machine;
extern crate substrate_primitives as primitives;
-5
View File
@@ -23,7 +23,6 @@ extern crate substrate_bft as bft;
extern crate substrate_trie as trie;
extern crate parity_codec as codec;
extern crate substrate_primitives as primitives;
extern crate sr_io as runtime_io;
extern crate sr_primitives as runtime_primitives;
extern crate substrate_state_machine as state_machine;
#[cfg(test)] extern crate substrate_keyring as keyring;
@@ -34,12 +33,8 @@ extern crate substrate_state_machine as state_machine;
extern crate fnv;
extern crate futures;
extern crate parking_lot;
extern crate trie_root;
extern crate trie_db;
extern crate hash_db;
extern crate rlp;
extern crate heapsize;
extern crate memory_db;
extern crate kvdb;
#[macro_use] extern crate error_chain;