#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

#62 in #solidity

Download history 107/week @ 2024-06-11 62/week @ 2024-06-18 20/week @ 2024-06-25 73/week @ 2024-07-02 53/week @ 2024-07-09 81/week @ 2024-07-16 109/week @ 2024-07-23 82/week @ 2024-07-30 102/week @ 2024-08-06 155/week @ 2024-08-13 105/week @ 2024-08-20 200/week @ 2024-08-27 193/week @ 2024-09-03 285/week @ 2024-09-10 361/week @ 2024-09-17 241/week @ 2024-09-24

1,090 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

~4–5.5MB
~97K SLoC