Implementation: #7820
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#features
Summary-Z features=host_dep
causes the feature resolver to prevent features enabled on build dependencies or proc-macros from being enabled for normal dependencies. For example:
[dependencies] log = "0.4" [build-dependencies] log = {version = "0.4", features=['std']}
When building the build script, the log
crate will be built with the std
feature. When building the library of your package, it will not enable the feature.
Unresolved issues
cargo metadata
--target
is not used). Projects can add features to re-unify if they want, but it may not be clear or obvious what to add and when. We may need something that identifies these duplicate dependencies, and give suggestions on how to unify them. Or, we may need to make this opt-in somehow so the user needs to make this an explicit decision.leighmcculloch and sksattarcieri, otavio, Ericson2314, recmo and Shaturtarcieri, otavio, Ericson2314, recmo, lifning and 3 morejplatte, leo60228, alex, BurntSushi, teskje and 23 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4