47 releases (14 stable)
Uses new Rust 2024
| 1.5.2 | Dec 22, 2025 |
|---|---|
| 1.4.1 | Oct 14, 2025 |
| 1.3.0 | Jul 22, 2025 |
| 1.0.0-rc.1 | Mar 26, 2025 |
| 0.7.7 | Jul 8, 2024 |
#11 in #evm
655,566 downloads per month
Used in 710 crates
(3 directly)
555KB
14K
SLoC
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.
Dependencies
~3–5MB
~90K SLoC