Update ethcore-bigint.
This commit is contained in:
@@ -17,7 +17,7 @@ use rand::{Rand, Rng};
|
||||
use rand::os::OsRng;
|
||||
use rustc_hex::{FromHex, FromHexError};
|
||||
use plain_hasher::PlainHasher;
|
||||
use bigint::U256;
|
||||
use uint::U256;
|
||||
use libc::{c_void, memcmp};
|
||||
|
||||
/// Return `s` without the `0x` at the beginning of it, if any.
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
extern crate rand;
|
||||
extern crate rustc_hex;
|
||||
extern crate bigint;
|
||||
extern crate libc;
|
||||
extern crate plain_hasher;
|
||||
|
||||
@@ -20,6 +19,7 @@ extern crate plain_hasher;
|
||||
#[macro_use]
|
||||
extern crate heapsize;
|
||||
|
||||
pub extern crate bigint as uint;
|
||||
pub mod hash;
|
||||
|
||||
/// A prelude module for re-exporting all the types defined in this crate.
|
||||
@@ -31,6 +31,6 @@ pub mod hash;
|
||||
/// let y = x + 1.into();
|
||||
/// ```
|
||||
pub mod prelude {
|
||||
pub use ::bigint::*;
|
||||
pub use ::uint::*;
|
||||
pub use ::hash::*;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user