-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Impossible to publish: failed to prepare local package for uploading #11522
Comments
Not exactly the same issue but probably you can follow this to investigate #11544. |
This is caused by having an empty readme field in [package]
name = "foo"
version = "0.1.0"
readme = "" This also happens with I think the solution is to generate a better error message when |
@rustbot claim |
Hi! So the problem seems to be the following lines from the cargo/src/cargo/ops/cargo_package.rs Lines 281 to 293 in be33892
If A simple fix could be to change Does that approach sound okay? The same change (+ adding a helpful warning message) should also work for |
That sounds good to me! |
Problem
When trying to publish my crate:
Notes
I tried to publish it from a friend's machine, suspecting the problem was related to something about my local environment but I got exactly the same error.
Version
The text was updated successfully, but these errors were encountered: