cornucopia icon indicating copy to clipboard operation
cornucopia copied to clipboard

feature request: derive Eq and Hash for generated structs

Open robert-sjoblom opened this issue 10 months ago • 2 comments

It would help to avoid the tedium of implementing them yourself. Is there a reason why they don't?

robert-sjoblom avatar Apr 05 '24 15:04 robert-sjoblom

Related: #149

DenisGorbachev avatar Apr 24 '24 07:04 DenisGorbachev

@LouisGariepy Is it possible please to add the CodegenSettings.extra_derives: Vec<String> field & render it into the #[derive(...)] on the generated structs?

DenisGorbachev avatar Apr 24 '24 07:04 DenisGorbachev