Skip to main content

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, and each toolchain knows only one of its two names: https://github.com/rust-lang/rust/issues/79813
9#![allow(unknown_lints)]
10#![allow(semicolon_in_expressions_from_macros)]
11#![allow(semicolon_in_expressions_from_non_local_macros)]
12
13use uint::construct_uint;
14
15construct_uint! {
16    pub struct U256(4);
17}