#solidity #evm #abi #ethereum #encoding

alloy-sol-macro-input

Input types for sol!-like macros

6 releases

new 0.7.5 Jun 4, 2024
0.7.4 May 14, 2024
0.7.1 Apr 23, 2024
0.7.0 Mar 30, 2024

#1850 in Magic Beans

Download history 366/week @ 2024-03-26 2923/week @ 2024-04-02 4903/week @ 2024-04-09 5618/week @ 2024-04-16 8042/week @ 2024-04-23 7217/week @ 2024-04-30 7263/week @ 2024-05-07 8927/week @ 2024-05-14 11264/week @ 2024-05-21 11721/week @ 2024-05-28

40,410 downloads per month
Used in 16 crates (2 directly)

MIT/Apache

380KB
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.3–3.5MB
~72K SLoC