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
-3
View File
@@ -5,16 +5,13 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate State Machine"
[dependencies]
byteorder = "1.1"
hex-literal = "0.1.0"
log = "0.4"
parking_lot = "0.4"
heapsize = "0.4"
hash-db = { git = "https://github.com/paritytech/trie" }
memory-db = { git = "https://github.com/paritytech/trie" }
trie-db = { git = "https://github.com/paritytech/trie" }
trie-root = { git = "https://github.com/paritytech/trie" }
rlp = "0.2.4"
substrate-trie = { path = "../trie" }
substrate-primitives = { path = "../primitives" }
parity-codec = "2.0"
+2 -4
View File
@@ -20,19 +20,17 @@
#![warn(missing_docs)]
#[cfg_attr(test, macro_use)]
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[macro_use]
extern crate log;
extern crate hash_db;
extern crate memory_db;
extern crate substrate_trie;
extern crate byteorder;
extern crate parking_lot;
extern crate rlp;
extern crate heapsize;
extern crate substrate_primitives as primitives;
extern crate parity_codec as codec;