Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
[ethcore]: rustc_hex not longer optional
Browse files Browse the repository at this point in the history
Used by `ethcore/client/client` when importing blocks
  • Loading branch information
niklasad1 committed Sep 11, 2019
1 parent 48629c2 commit 387d0dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ethcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ rand_xorshift = "0.1.1"
rayon = "1.1"
rlp = "0.4.0"
rlp_derive = { path = "../util/rlp-derive" }
rustc-hex = { version = "1", optional = true }
rustc-hex = "1"
serde = "1.0"
serde_derive = "1.0"
snapshot = { path = "snapshot" }
Expand Down Expand Up @@ -93,6 +93,7 @@ rlp_compress = { path = "../util/rlp-compress" }
rustc-hex = "1"
serde_json = "1.0"
stats = { path = "../util/stats" }
pod = { path = "pod" }
tempdir = "0.3"
trie-standardmap = "0.15.0"

Expand Down Expand Up @@ -135,7 +136,6 @@ test-helpers = [
"kvdb-rocksdb",
"macros",
"pod",
"rustc-hex",
"tempdir",
"basic-authority/test-helpers"
]
Expand Down
3 changes: 1 addition & 2 deletions ethcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ extern crate patricia_trie_ethereum as ethtrie;
extern crate rand;
extern crate rayon;
extern crate rlp;
extern crate rustc_hex;
extern crate serde;
extern crate snapshot;
extern crate spec;
Expand Down Expand Up @@ -126,8 +127,6 @@ extern crate pod;
extern crate blooms_db;
#[cfg(any(test, feature = "env_logger"))]
extern crate env_logger;
#[cfg(any(test, feature = "test-helpers"))]
extern crate rustc_hex;
#[cfg(test)]
extern crate serde_json;
#[cfg(any(test, feature = "tempdir"))]
Expand Down

0 comments on commit 387d0dc

Please sign in to comment.