Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Update ethcore-bigint #6992

Merged
merged 4 commits into from
Nov 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
76 changes: 38 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions util/bigint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1"
authors = ["Parity Technologies <admin@parity.io>"]

[dependencies]
Expand All @@ -13,9 +13,10 @@ rustc-hex = "1.0"
rand = "0.3.12"
libc = "0.2"
heapsize = { version = "0.4", optional = true }
plain_hasher = { path = "../plain_hasher" }
plain_hasher = { path = "../plain_hasher", version = "0.1" }

[features]
x64asm_arithmetic=[]
rust_arithmetic=[]
std = ["bigint/std"]
heapsizeof = ["heapsize", "bigint/heapsizeof"]
2 changes: 1 addition & 1 deletion util/bigint/src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions util/bigint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

extern crate rand;
extern crate rustc_hex;
extern crate bigint;
extern crate libc;
extern crate plain_hasher;

#[cfg(feature="heapsizeof")]
#[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.
Expand All @@ -31,6 +31,6 @@ pub mod hash;
/// let y = x + 1.into();
/// ```
pub mod prelude {
pub use ::bigint::*;
pub use ::uint::*;
pub use ::hash::*;
}