-
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
Unable to publish to crates.io with source replacement #10640
Comments
I rely on base64, crates.io How should I publish the package |
Do you have config files set? If so what is in them? |
hi, this is my loacal .cargo config file: [source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
|
this error report url: error |
Cargo currently doesn't support publishing with source replacement. If possible, you'll need to temporarily disable the config. Issue #6722 is open to track providing a better error message. I'm not sure, but it may be possible to detect the source-replacement scenario and try to publish anyways. It could possibly cause issues if the replacement is out of sync, but crates.io will catch any missing dependencies. I'm not sure how hard that will be to implement, though. |
Closing since I believe this is now fixed via #10907. The new error message is:
Using |
error::
The text was updated successfully, but these errors were encountered: