sol_abi/lib.rs
1//! Solidity ABI implementation
2//!
3//! https://docs.soliditylang.org/en/latest/abi-spec.html#json
4#![deny(missing_docs)]
5#![cfg_attr(not(feature = "std"), no_std)]
6
7mod abi;
8mod arg;
9
10#[cfg(not(feature = "std"))]
11pub(crate) mod std {
12 extern crate alloc;
13
14 pub use alloc::{
15 string::{String, ToString},
16 vec::Vec,
17 };
18}
19
20pub use self::{
21 abi::Abi,
22 arg::{Arg, Param},
23};