Use rustc-hex instead of rustc-serialize in bloomchain tests (#7616)
This commit is contained in:
parent
5990c64e31
commit
f7012af92e
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -155,7 +155,7 @@ version = "0.2.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"ethbloom 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ethbloom 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -11,5 +11,5 @@ keywords = ["ethereum", "ethcore", "bloom", "chain", "filter"]
|
|||||||
ethbloom = "0.3"
|
ethbloom = "0.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rustc-serialize = "0.3"
|
rustc-hex = "1.0"
|
||||||
rand = "0.4"
|
rand = "0.4"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
extern crate bloomchain;
|
extern crate bloomchain;
|
||||||
extern crate rustc_serialize;
|
extern crate rustc_hex;
|
||||||
|
|
||||||
mod util;
|
mod util;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
extern crate bloomchain;
|
extern crate bloomchain;
|
||||||
extern crate rustc_serialize;
|
extern crate rustc_hex;
|
||||||
|
|
||||||
mod util;
|
mod util;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use rustc_serialize::hex::FromHex as RustcFromHex;
|
use rustc_hex::FromHex as RustcFromHex;
|
||||||
use bloomchain::Bloom;
|
use bloomchain::Bloom;
|
||||||
|
|
||||||
pub trait FromHex {
|
pub trait FromHex {
|
||||||
|
Loading…
Reference in New Issue
Block a user