//! Helpers for formatting Ethereum types.

#![cfg_attr(not(test), warn(unused_crate_dependencies))]

mod console;
pub use console::{ConsoleFmt, FormatSpec, console_format, console_table_format};

mod dynamic;
pub use dynamic::{
    StructDefinitions, TypeDefMap, format_token, format_token_raw, format_tokens,
    format_tokens_raw, parse_tokens, serialize_value_as_json,
};

mod exp;
pub use exp::{format_int_exp, format_uint_exp, to_exp_notation};

mod ui;
pub use ui::{
    EthValue, UIfmt, UIfmtHeaderExt, UIfmtReceiptExt, UIfmtSignatureExt, get_pretty_block_attr,
    get_pretty_receipt_attr, get_pretty_tx_attr,
};
