49 releases (13 stable)

Uses new Rust 2024

new 1.5.1 Dec 18, 2025
1.4.1 Oct 14, 2025
1.3.0 Jul 22, 2025
1.0.0-rc.1 Mar 26, 2025
0.7.0 Mar 30, 2024

#224 in Magic Beans

Download history 149553/week @ 2025-08-27 151877/week @ 2025-09-03 152641/week @ 2025-09-10 148145/week @ 2025-09-17 159583/week @ 2025-09-24 151312/week @ 2025-10-01 160490/week @ 2025-10-08 168103/week @ 2025-10-15 170045/week @ 2025-10-22 182798/week @ 2025-10-29 201355/week @ 2025-11-05 171023/week @ 2025-11-12 196236/week @ 2025-11-19 190173/week @ 2025-11-26 218537/week @ 2025-12-03 178909/week @ 2025-12-10

812,618 downloads per month
Used in 677 crates (4 directly)

MIT/Apache

385KB
10K SLoC

alloy-sol-macro-input

This crate contains inputs to the sol! macro. It sits in-between the sol-macro and syn-solidity crates, and contains an intermediate representation of Solidity items. These items are then expanded into Rust code by the alloy-sol-macro crate.

This crate is not meant to be used directly, but rather is a tool for writing macros that generate Rust code from Solidity code.

Dependencies

~2.4–4MB
~77K SLoC