ink
ink copied to clipboard
Investigate reexporting of `parity-scale-codec` and `scale-info` from `ink` crate
Follow up for #1223. See https://github.com/paritytech/ink/pull/1223#issuecomment-1248066139.
In an ideal world we would be able to require the user to only import the ink crate. At the moment parity-scale-codec and scale-info are also required.
Reexporting them is possible but would require the user to add e.g. #[codec(crate = ink::scale)] when using the reexported derives. It would be nice to come up with a solution to make this user friendly. More detail https://github.com/paritytech/ink/pull/1223#issuecomment-1248275258