6 releases (3 breaking)

0.4.1 Aug 22, 2018
0.3.0 Aug 14, 2018
0.2.1 May 22, 2018
0.2.0 Mar 15, 2018
0.1.0 Dec 29, 2017

#1 in Cryptocurrencies

Download history 1258/week @ 2018-05-31 2109/week @ 2018-06-07 1336/week @ 2018-06-14 1451/week @ 2018-06-21 1442/week @ 2018-06-28 1700/week @ 2018-07-05 1931/week @ 2018-07-12 2100/week @ 2018-07-19 1502/week @ 2018-07-26 1665/week @ 2018-08-02 1796/week @ 2018-08-09 1700/week @ 2018-08-16 1509/week @ 2018-08-23

7,165 downloads per month
Used in 26 crates (4 directly)

MIT/Apache

36KB
1K SLoC

Big unsigned integer types

Macros to implement large-but-fixed sized unsigned integer types. The functions here are designed to be fast.

The crate builds and exports two commonly used types: U256 and U512. Other sizes can be constructed with construct_uint!(NAME, SIZE_IN_WORDS), e.g. construct_uint!(U128, 2);.

Run tests with cargo test --features=std,impl_quickcheck_arbitrary --release.


lib.rs:

Efficient large, fixed-size big integers and hashes.

Dependencies

~729KB