#solidity #abi #ethereum #evm #proc-macro #encoding

linera-alloy-sol-macro-expander

Expander used in the Solidity to Rust procedural macro

1 unstable release

0.7.4 May 30, 2024

#97 in #solidity

Download history 469/week @ 2024-11-13 855/week @ 2024-11-20 1702/week @ 2024-11-27 1507/week @ 2024-12-04 558/week @ 2024-12-11 283/week @ 2024-12-18 136/week @ 2024-12-25 279/week @ 2025-01-01 68/week @ 2025-01-08 92/week @ 2025-01-15 72/week @ 2025-01-22 125/week @ 2025-01-29 99/week @ 2025-02-05 167/week @ 2025-02-12 161/week @ 2025-02-19 58/week @ 2025-02-26

564 downloads per month
Used in 23 crates (via linera-alloy-sol-macro)

MIT/Apache

515KB
13K SLoC

linera-alloy-sol-macro-expander

This crate contains the expansion logic for a Solidity proc_macro2::TokenStream.

It helps convert Solidity tokens to their respective Rust bindings.


lib.rs:

This crate contains the expansion logic for a Solidity proc_macro2::TokenStream. Its 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 linera-alloy-sol-macro crate.

Dependencies

~3.5–5MB
~89K SLoC