crow icon indicating copy to clipboard operation
crow copied to clipboard

rename `serde1` feature to `serde`

Open lcnr opened this issue 6 years ago • 1 comments

The serde feature is currently called serde1.

This because serde derive requires that the crate serde is imported as serde and features share the same namespace with dependencies.

As I need to explicitly enable glutin/serde I currently use serde1 as the feature flag and emit a compilation error in case serde is used without serde1.

lcnr avatar Feb 19 '20 14:02 lcnr

for reference: https://github.com/serde-rs/serde/issues/953

lcnr avatar Feb 19 '20 14:02 lcnr