gear
gear copied to clipboard
`scale_codec`/`scale_info` can be reexported from `gstd`
Problem to Solve
with codec 3.1.2 and scale_info 2.1.1 it is possible to reexport the crates from gstd. This will allow not to depend on codec/info in the end program.
Possible Solution
It is nice to have sample demonstrating reexporting.
codec(crate = path::to::crate) - https://github.com/paritytech/parity-scale-codec#derive-attributes
#[scale_info(crate = scale_info_reexport::info)] - https://docs.rs/scale-info/2.1.1/scale_info/#scale_infocrate--pathtocrate
Notes
No response