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

Commit 387d0dc

Browse files
committed
[ethcore]: rustc_hex not longer optional
Used by `ethcore/client/client` when importing blocks
1 parent 48629c2 commit 387d0dc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ethcore/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rand_xorshift = "0.1.1"
5454
rayon = "1.1"
5555
rlp = "0.4.0"
5656
rlp_derive = { path = "../util/rlp-derive" }
57-
rustc-hex = { version = "1", optional = true }
57+
rustc-hex = "1"
5858
serde = "1.0"
5959
serde_derive = "1.0"
6060
snapshot = { path = "snapshot" }
@@ -93,6 +93,7 @@ rlp_compress = { path = "../util/rlp-compress" }
9393
rustc-hex = "1"
9494
serde_json = "1.0"
9595
stats = { path = "../util/stats" }
96+
pod = { path = "pod" }
9697
tempdir = "0.3"
9798
trie-standardmap = "0.15.0"
9899

@@ -135,7 +136,6 @@ test-helpers = [
135136
"kvdb-rocksdb",
136137
"macros",
137138
"pod",
138-
"rustc-hex",
139139
"tempdir",
140140
"basic-authority/test-helpers"
141141
]

ethcore/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ extern crate patricia_trie_ethereum as ethtrie;
8181
extern crate rand;
8282
extern crate rayon;
8383
extern crate rlp;
84+
extern crate rustc_hex;
8485
extern crate serde;
8586
extern crate snapshot;
8687
extern crate spec;
@@ -126,8 +127,6 @@ extern crate pod;
126127
extern crate blooms_db;
127128
#[cfg(any(test, feature = "env_logger"))]
128129
extern crate env_logger;
129-
#[cfg(any(test, feature = "test-helpers"))]
130-
extern crate rustc_hex;
131130
#[cfg(test)]
132131
extern crate serde_json;
133132
#[cfg(any(test, feature = "tempdir"))]

0 commit comments

Comments
 (0)