nrc / derive-new

derive simple constructor functions for Rust structs
MIT License
525 stars 35 forks source link

Remove unnecessary uses of cfg!(feature = std) #54

Closed Lucretiel closed 2 years ago

Lucretiel commented 2 years ago

The core module is present even in non-no_std builds, so there's no reason to generate ::std versions of the relevant code.

antimora commented 1 year ago

@nrc Can you please release this change? It seems the latest published version does not have it.