Currently it's tricky to tell how the gen_from_file! and gen_from_str! macros will expand for a given contract ABI without actually using them and then inspecting the generated documentation with cargo doc --open.
It could be useful to have a simple, sample app and generated module in pint-abi that demonstrates how items are generated.
It could be hidden behind a feature flag that is only enabled for docs.rs generation.
Currently it's tricky to tell how the
gen_from_file!
andgen_from_str!
macros will expand for a given contract ABI without actually using them and then inspecting the generated documentation withcargo doc --open
.It could be useful to have a simple, sample app and generated module in
pint-abi
that demonstrates how items are generated.It could be hidden behind a feature flag that is only enabled for
docs.rs
generation.