zebra_chain/work/u256.rs
1//! Module for a 256-bit big int structure.
2// This is a separate module to make it easier to disable clippy because
3// it raises a lot of issues in the macro.
4#![allow(clippy::all)]
5#![allow(clippy::range_plus_one)]
6#![allow(clippy::fallible_impl_from)]
7#![allow(missing_docs)]
8// `uint`'s macro expansion trips this lint on newer nightlies: https://github.com/rust-lang/rust/issues/79813
9#![allow(semicolon_in_expressions_from_macros)]
10
11use uint::construct_uint;
12
13construct_uint! {
14 pub struct U256(4);
15}