-
Notifications
You must be signed in to change notification settings - Fork 2.6k
cargo vendor
should vendor crates in a pristine state
#15090
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 is a more general form of several issues we already have. Copying #15080 (comment)
|
I'm a little unclear from the report if it is related to that issue, or if it is related to @glandium Can you give a more detailed description of exactly which commands you are running, and which changes you are identifying between cargo versions? |
Here are the changes that 1.80 introduced compared to 1.79: Then 1.81: 1.83: 1.84: The command that is run is simply |
Ah, I did not realize that was happening with |
(and 1.85 added another round of changes, this time moving where features are declared) |
Hi. I know in general we want to do direct tarball extraction to fix all #9054, #13191, #14034, #15080, and this one. However, AFAIK except the change in 1.84 which additionally includes |
That is a good observation, they are from git dependencies. |
In a large project, where different people might run cargo vendor with different versions of cargo, it would be better to avoid the unwanted noise from each version of cargo introducing changes to the
cargo publish
output.Things were mostly fine until cargo 1.80, but since then almost each and every release of cargo has introduced changes that introduces churn on
Cargo.toml
,Cargo.lock
and consequently.cargo-checksum.json
.Things like issue #14965 also wouldn't happen if the vendored crates were unmodified.
The text was updated successfully, but these errors were encountered: