1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![deny(clippy::shadow_unrelated)]
pub mod amount;
pub mod shared_math;
pub mod test_shared;
pub mod timing_reporter;
pub mod util_types;
pub mod utils;

// This is needed for `#[derive(BFieldCodec)]` macro to work consistently across crates.
// Specifically:
// From inside the `twenty-first` crate, we need to refer to `twenty-first` by `crate`.
// However, from outside the `twenty-first` crate, we need to refer to it by `twenty_first`.
// The re-export below allows using identifier `twenty_first` even from inside `twenty-first`.
//
// See also:
// https://github.com/bkchr/proc-macro-crate/issues/2#issuecomment-572914520
extern crate self as twenty_first;