uint/
lib.rs

1// Copyright 2020 Parity Technologies
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! Efficient large, fixed-size big integers and hashes.
10
11#![cfg_attr(not(feature = "std"), no_std)]
12
13#[doc(hidden)]
14pub use byteorder;
15
16// Re-export libcore using an alias so that the macros can work without
17// requiring `extern crate core` downstream.
18#[doc(hidden)]
19pub use core as core_;
20
21#[doc(hidden)]
22pub use hex;
23
24#[cfg(feature = "quickcheck")]
25#[doc(hidden)]
26pub use quickcheck;
27
28#[cfg(feature = "arbitrary")]
29#[doc(hidden)]
30pub use arbitrary;
31
32#[doc(hidden)]
33pub use static_assertions;
34
35pub use crunchy::unroll;
36
37#[macro_use]
38#[rustfmt::skip]
39mod uint;
40pub use crate::uint::*;