-
Notifications
You must be signed in to change notification settings - Fork 643
Cannot publish packages that enable features in dependencies (regression) #1334
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
Comments
This regression has been introduced in PR #1331: A quick fix would be to change src/views/krate_publish.rs:124, but I'm wondering if the distinction between Feature and FeatureName is necessary? @sgrif? |
Thanks for looking into this! It would be great if it was possible to deploy the fix. |
when fix should be expected? it is not possible to publish packages with re-export features |
👀 |
Sorry for the delay in looking into this. The fix in #1335 is correct. I've added a regression test to #1336, and will get it deployed once it's merged.
It is. A feature is what can appear in
I've made sure everyone who can deploy was pinged. |
The fix for this has been deployed. You should be able to publish your crate now. If you're seeing any more problems, please open a new issue. |
Hi, I'm trying to publish a crate that contains the following in its
Cargo.toml
to enable
nightly
features in dependencies. However, it's no longer possible to publish this crate tocrates.io
, since it fails with:This appears to be the error generated by this code, and the same
Cargo.toml
was accepted up until a few days ago, so my guess is that this is a recent regression?The text was updated successfully, but these errors were encountered: