#ethereum #abi #encoding #evm #solidity

macro alloy-sol-macro

Solidity to Rust procedural macro

16 releases (4 breaking)

new 0.6.3 Feb 15, 2024
0.5.4 Dec 28, 2023
0.5.1 Nov 30, 2023
0.3.1 Jul 30, 2023

#7 in #ethereum-abi

Download history 2636/week @ 2023-10-29 3616/week @ 2023-11-05 3380/week @ 2023-11-12 3568/week @ 2023-11-19 6524/week @ 2023-11-26 7587/week @ 2023-12-03 9057/week @ 2023-12-10 12173/week @ 2023-12-17 8995/week @ 2023-12-24 15235/week @ 2023-12-31 24319/week @ 2024-01-07 31039/week @ 2024-01-14 31524/week @ 2024-01-21 29630/week @ 2024-01-28 28487/week @ 2024-02-04 31067/week @ 2024-02-11

122,576 downloads per month
Used in 22 crates (2 directly)

MIT/Apache

520KB
13K SLoC

alloy-sol-macro

This crate provides the sol! procedural macro, which parses Solidity syntax to generate types that implement alloy-sol-types traits.

Refer to the macro's documentation for more information.


lib.rs:

alloy-sol-macro

This crate provides the sol! procedural macro, which parses Solidity syntax to generate types that implement alloy-sol-types traits.

Refer to the macro's documentation for more information.

Dependencies

~3–4.5MB
~87K SLoC