You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
I was trying to patch some of my deps, with additional features enabled in my workspace. However, features specified in [patch.crates-io] are all ignored.
The features are ignored, no error is given(there-is-no-such-feature-whatsoever), and no feature is actually enabled(no-verbose-logging)
Possible Solution(s)
I think we can simply fix it, gives a hard error saying this is not supported, or gives a warning saying features are currently ignored
Output of cargo version:
cargo 1.54.0-nightly(44456677b 2021-06-12)
The text was updated successfully, but these errors were encountered:
IIRC [patch] is used only for patching sources of dependencies at this moment. For fields related to "conditional compilation", such as features and optional, you still need to specify them in the original [dependencies] section.
Problem
I was trying to patch some of my deps, with additional features enabled in my workspace. However, features specified in
[patch.crates-io]
are all ignored.Steps
The features are ignored, no error is given(there-is-no-such-feature-whatsoever), and no feature is actually enabled(no-verbose-logging)
Possible Solution(s)
I think we can simply fix it, gives a hard error saying this is not supported, or gives a warning saying features are currently ignored
Output of
cargo version
:The text was updated successfully, but these errors were encountered: