<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, 29 Jan 2018 at 02:56 Ximin Luo <<a href="mailto:infinity0@debian.org">infinity0@debian.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm also considering passing --all-features to `cargo install` in dh-cargo, does that seem like a good idea too? Or perhaps we could generate two binary packages, one with default features and one with all features.<br></blockquote><div><br></div><div>My opinion: I think we need to handle features case-by-case as part of the debian packaging of a particular crate, and we should default to the upstream crate's default.</div><div><br></div><div>"Features" in cargo are a conditional-compilation directive, and I think it's incorrect to say "all features" == "better".  In most cases I think we'll want to go with the upstream's default unless we have particular needs (a common case might be enabling off-by-default SSL support, because we're happy to require the extra build-dependencies to get privacy).</div><div><br></div><div> - Gus</div></div></div>