kbknapp / cargo-outdated

A cargo subcommand for displaying when Rust dependencies are out of date
MIT License
1.2k stars 94 forks source link

use serde macro via serde crate instead of serde_derive #365

Closed tottoto closed 11 months ago

tottoto commented 1 year ago

serde's macros could be used via serde crate as its derive feature is enabled.

kbknapp commented 11 months ago

NOTE I'd actually like to have gone the other direction (remove the derive feature of serde and use serde_derive directly). However, in cargo-oudated's case it doesn't matter as we already use the derive feature and removing it doesn't change anything due to other dependencies.

I'm good with this change as is - we can change later if needed or if we find a way to compile serde and serde_derive in parallel in the future.