1#![no_std]
2
3#[cfg(all(feature = "std", feature = "no_std"))]
5compile_error!(r#"Features "std" and "no_std" are mutually exclusive."#);
6#[cfg(not(any(feature = "std", feature = "no_std")))]
7compile_error!(r#"Either feature "std" or "no_std" must be enabled."#);
8
9#[cfg(all(
10 feature = "evm",
11 not(any(feature = "evm-alloy-0_6", feature = "evm-alloy-1"))
12))]
13compile_error!(r#"Feature "evm" requires either "evm-alloy-0_6" or "evm-alloy-1"."#);
14
15extern crate alloc;
16#[cfg(any(test, feature = "std"))]
17extern crate std;
18
19pub use ruint::aliases::U256;
20
21#[cfg(all(feature = "evm-alloy-0_6", not(feature = "evm-alloy-1")))]
22pub use alloy_primitives_0_6 as alloy_primitives;
23#[cfg(feature = "evm-alloy-1")]
24pub use alloy_primitives_1 as alloy_primitives;
25
26pub mod chain;
27pub mod math;
28pub mod quoting;
29
30mod private {
31 pub trait Sealed {}
32}