-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default features of dependencies get pulled in for no reason #3164
Comments
Hm what version of Cargo are you using actually? I just used
which looks correct? Maybe we fixed this bug? (not that I remember it) |
And in Cargo.lock: [[package]]
name = "serde_codegen"
version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"quote 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_codegen_internals 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)",
"syntex 0.44.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syntex_syntax 0.44.0 (registry+https://github.com/rust-lang/crates.io-index)",
] |
Hm it looks like there's something else in play here because it works if I use the exact |
The one in 94437c4bbbee843e172dfc306b113a13a8a840c8, which is the tip of the PR I linked. |
I wonder if that is related to #1197, it's certainly similar. |
If the "bug" is that syntex_syntax is mentioned in Cargo.lock then that's not a bug. There exists a mode to build |
I see! Now that makes sense. Closing this then! |
When building
webrender_traits
with servo/webrender#430, even runningcargo build --no-default-features --features serde_derive
ends up buildingserde_codegen
with its featurewith-syntex
. This should not happen.The text was updated successfully, but these errors were encountered: