#solidity #evm #abi #ethereum #encoding

alloy-sol-macro-input

Input types for sol!-like macros

5 releases

0.7.4 May 14, 2024
0.7.3 May 14, 2024
0.7.2 May 2, 2024
0.7.1 Apr 23, 2024
0.7.0 Mar 30, 2024

#1827 in Magic Beans

Download history 625/week @ 2024-03-27 3474/week @ 2024-04-03 4942/week @ 2024-04-10 6270/week @ 2024-04-17 7594/week @ 2024-04-24 7279/week @ 2024-05-01 7802/week @ 2024-05-08 7313/week @ 2024-05-15

31,489 downloads per month
Used in 15 crates (2 directly)

MIT/Apache

375KB
10K SLoC

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–3.5MB
~73K SLoC