-
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
cargo package fails with submodules #2657
Comments
Oh, I did work around this with Edit: No, not true. Still haven't gotten it to work. |
This may have to do with something else besides submodules. Even after removing the submodule I can't get this to package. |
Was the submodule not checked out? Cargo doesn't automatically check out local submodules, and if it was checked out it worked locally for me |
It was checked out. |
How are you repro'ing? This works for me:
|
Those exact commands don't work for me. They produce the error in the OP.
|
No matter what I do |
Looks like this is a beta regression, I can reproduce on beta's cargo and not on stable's |
Ah. Well, I'll publish this with stable, then! |
Oh actually this may have been a bug fix. The traversal logic for including crates is skipping rust-crypto because it looks like a sub-crate (e.g. it has a Cargo.toml). |
This sounds like the change was intentional, and if this continued to have been a problem, I would have expected this issue to have had activity in the last year. Closing, please reopen if I'm mistaken! |
This tree fails
cargo package
with:I've tried adding
include
directives to Cargo.toml and moving the submodule undersrc
.The text was updated successfully, but these errors were encountered: