Fix: the serialize feature should also enable serde/derive#472
Fix: the serialize feature should also enable serde/derive#472loyd wants to merge 1 commit intotafia:masterfrom loyd:master
serialize feature should also enable serde/derive#472Conversation
serde feature should also enable serde/deriveserialize feature should also enable serde/derive
|
I would like instead derive |
|
@Mingun, how is it possible? Also, I think it's the wrong behavior. A downstream crate can use |
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
==========================================
- Coverage 51.01% 51.00% -0.02%
==========================================
Files 30 30
Lines 13103 13103
==========================================
- Hits 6685 6683 -2
- Misses 6418 6420 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
I don't known what steps exactly need to be done to achieve that. That needs an investigation. It is possible to enable feature of another crate, and since Rust 1.60 it is possible to enable feature, but does not automatically depend on that crate using
If downstream crate implement traits manually, it won't needed |
|
Ok, just fix it any way you want |
|
Btw, a usual name for the feature is |
You're totally right and I even was thinking about rename that feature, but after that PR I think that this could be wrong. Usually feature named But in quick-xml |
|
You're right. Btw, another way is to use a separate crate (e.g. |
In master/last release
serializefeature implicitly depends onserde/derive.Just add
resolve = "2"toCargo.tomlto see the following: