This revision adds an explicit Cargo feature named serde. This feature is almost identical to the old use_serde feature, but uses features of Cargo's new feature resolver to automatically enable serde features for num-* crates as appropriate. The use_serde feature is now a (deprecated) alias for this new serde feature.
Very few changes were required, since uom was already using the (then-implicit) serde feature to begin with. I was unable to find an elegant way to warn users specifying use_serde to switch to the new feature.
This revision adds an explicit Cargo feature named
serde
. This feature is almost identical to the olduse_serde
feature, but uses features of Cargo's new feature resolver to automatically enableserde
features fornum-*
crates as appropriate. Theuse_serde
feature is now a (deprecated) alias for this newserde
feature.Very few changes were required, since
uom
was already using the (then-implicit)serde
feature to begin with. I was unable to find an elegant way to warn users specifyinguse_serde
to switch to the new feature.This closes #216.