Use rustc-hex without default features
This commit is contained in:
parent
13d7356657
commit
33567263fa
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue