1// Copyright 2015-2020 Parity Technologies
2// Copyright 2023-2023 Alloy Contributors
34// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7// option. This file may not be copied, modified, or distributed
8// except according to those terms.
910#![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#![allow(clippy::literal_string_with_formatting_args)] // TODO: https://github.com/rust-lang/rust-clippy/issues/13885
1920#[macro_use]
21#[allow(unused_imports)]
22extern crate alloc;
2324pub extern crate alloy_sol_type_parser as parser;
2526mod abi;
27pub use abi::{ContractObject, IntoItems, Items, JsonAbi};
2829mod item;
30pub use item::{AbiItem, Constructor, Error, Event, Fallback, Function, Receive};
3132mod param;
33pub use param::{EventParam, Param};
3435pub use parser::{serde_state_mutability_compat, StateMutability};
3637mod internal_type;
38pub use internal_type::InternalType;
3940mod to_sol;
41pub use to_sol::ToSolConfig;
4243pub(crate) mod utils;