-
Notifications
You must be signed in to change notification settings - Fork 381
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
v2.2: Remove ignored default-features key from Cargo.toml files (backport of #4878) #4962
Conversation
Justification for BP - current tip of v2.2 spits out these warning when building:
|
(cherry picked from commit 9059d9d)
aae1aca
to
527f473
Compare
Rebased on tip of v2.2 to pick up 997abca for Windows CI |
is this not the opposite of what we want to do? should instead not use the workspace dependency declaration and instead use a minimal features declaration |
Do you mean listing the features separately for each crate? I believe the original intent of removing the default features was to avoid the warning when building. |
the warning is irrelevant. my question is whether the default feature were intentionally removed for these specifications and that if so, we are resolving the warning in the wrong direction. that is, these specifications should not be using the workspace dependency declaration, but their own with the subset of features required |
@joncinque and @kevinheavey Any thoughts on using a subset of features for these SDK crates? |
I agree with Trent here, this was done incorrectly. Rather than removing Line 395 in 0cfcd47
|
I'll do the approach that was discussed by Trent & Jon. So, I'm going to back this commit out of master in #5153. This means we shouldn't BP this so closing this out |
Problem
default-features
is ignored for solana-program, and other sdk dependencies, sincedefault-features
was not specified forworkspace.dependencies.solana-program
.Summary of Changes
Remove
default-features
key from Cargo.toml files.This is an automatic backport of pull request #4878 done by [Mergify](https://mergify.com).