-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
parity-scale-codec/derive
enables serder/std
even when std
is not enabled
#204
Comments
The dependency path is:
This is ultimately caused by rust-lang/cargo#7915 |
This nightly-only cargo feature solves it for me: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#features Building using it works:
|
I'm not sure if there is a good way to solve this ? but as we will release 2.0 in some time do you see any fix ? |
This will be solved by: rust-lang/cargo#8997 So with the stable compiler in some weeks. |
Can this be closed now? |
Probably |
Simplified example:
Fails to build correctly without the
std
feature.This is because
parity-scale-codec
will force theserde/std
feature to be set, even whenparity-scale-codec/std
is unset.The text was updated successfully, but these errors were encountered: