1#![doc = include_str!("../README.md")]
11#![doc(
12 html_logo_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/alloy.jpg",
13 html_favicon_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/favicon.ico"
14)]
15#![cfg_attr(not(test), warn(unused_crate_dependencies))]
16#![cfg_attr(not(feature = "std"), no_std)]
17#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
18
19#[macro_use]
20extern crate alloc;
21
22pub extern crate alloy_sol_type_parser as parser;
23
24#[cfg(feature = "arbitrary")]
25mod arbitrary;
26
27mod coerce;
28
29mod dynamic;
30pub use dynamic::{
31 DecodedError, DecodedEvent, DynSolCall, DynSolError, DynSolEvent, DynSolReturns, DynSolType,
32 DynSolValue, DynToken,
33};
34
35mod error;
36pub use error::{Error, Result};
37
38mod ext;
39pub use ext::{ErrorExt, EventExt, FunctionExt, JsonAbiExt};
40
41mod specifier;
42pub use specifier::Specifier;
43
44#[cfg(feature = "eip712")]
45pub mod eip712;
46#[cfg(feature = "eip712")]
47pub use eip712::{parser as eip712_parser, Eip712Types, PropertyDef, Resolver, TypeDef, TypedData};
48
49#[doc(no_inline)]
50pub use alloy_sol_types::{
51 abi::{self, Decoder, Encoder},
52 Eip712Domain, SolType, Word,
53};