uint_crate/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 qc;
27
28#[cfg(feature = "quickcheck")]
29#[doc(hidden)]
30pub use rand07;
31
32#[cfg(feature = "arbitrary")]
33#[doc(hidden)]
34pub use arbitrary;
35
36#[doc(hidden)]
37pub use static_assertions;
38
39pub use crunchy::unroll;
40
41#[macro_use]
42#[rustfmt::skip]
43mod uint_crate;
44pub use crate::uint_crate::*;