#abi #solidity #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

#79 in #solidity

Download history 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 261/week @ 2024-09-24 147/week @ 2024-10-01 164/week @ 2024-10-08 169/week @ 2024-10-15 316/week @ 2024-10-22 497/week @ 2024-10-29 551/week @ 2024-11-05

1,567 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–5.5MB
~95K SLoC