-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: the serialize
feature should also enable serde/derive
#472
Conversation
serde
feature should also enable serde/derive
serialize
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
serialize
feature implicitly depends onserde/derive
.Just add
resolve = "2"
toCargo.toml
to see the following: