Crate alloy_sol_macro_expander

Source
Expand description

§alloy-sol-macro-expander

This crate contains the expansion logic for a Solidity proc_macro2::TokenStream. It’s used to expand and generate Rust bindings from Solidity.

Note: This is not the procedural macro crate, it is intended to be used as library crate.

This crate is used by sol! macro in the alloy-sol-macro crate.

[!WARNING] This crate does not have a stable API, and all exposed functions are subject to change. We reserve the right to make any breaking changes to this crate without notice.

Modules§

  • Functions which generate Rust code from the Solidity AST.