Update ethcore-bigint.

This commit is contained in:
Tomasz Drwięga
2017-11-06 11:58:17 +01:00
parent ffee6aacff
commit d7e4dda3e1
4 changed files with 42 additions and 42 deletions

View File

@@ -4,7 +4,7 @@ homepage = "http://parity.io"
repository = "https://github.com/paritytech/parity"
license = "MIT/Apache-2.0"
name = "ethcore-bigint"
version = "0.1.3"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]

View File

@@ -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.

View File

@@ -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::*;
}