3 ms·
Sure features are transitive. A crate’s features at build are the superset of what every package defines. If I define “fast_compile” (opt-in) or “no_binaries” (
by SnowProblem 3y ago
Sure features are transitive. A crate’s features at build are the superset of what every package defines. If I define “fast_compile” (opt-in) or “no_binaries” (opt-out) it’ll get applied across the board, will it not?
- duped 3y agoIt depends. Features are not unified with resolver = 2 for proc macros. https://doc.rust-lang.org/cargo/reference/resolver.html#features https://doc.rust-lang.org/cargo/reference/resolver.html#feat... That said I'm not sure how that applies transitively, I could have sworn I've seen conflicting features not cause transitive build failures.