Use rustc-hex without default features

This commit is contained in:
David Palm 2018-08-10 19:38:14 +02:00
parent 13d7356657
commit 33567263fa
3 changed files with 5 additions and 5 deletions

View File

@ -10,15 +10,16 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
byteorder = { version = "1", default-features = false }
heapsize = { version = "0.4.2", optional = true }
rustc-hex = "2.0"
rustc-hex = { version = "2.0", default-features = false }
quickcheck = { version = "0.6", optional = true }
[dev-dependencies]
crunchy = "0.1.5"
quickcheck = "0.6"
rustc-hex = "2.0"
[features]
std = ["byteorder/std"]
std = ["byteorder/std", "rustc-hex/std"]
heapsizeof = ["heapsize"]
impl_quickcheck_arbitrary = ["quickcheck"]

View File

@ -30,7 +30,6 @@ pub extern crate rustc_hex;
pub extern crate quickcheck;
#[cfg(all(not(feature = "std"), test))]
#[macro_use]
extern crate alloc;
mod uint;

View File

@ -8,8 +8,8 @@ extern crate crunchy;
#[macro_use]
extern crate quickcheck;
use std::u64::MAX;
use std::str::FromStr;
use core::u64::MAX;
use core::str::FromStr;
use uint::FromDecStrErr;
construct_uint!(U128, 2);