mirror of
https://github.com/rust-lang/cargo
synced 2024-10-01 21:43:45 +00:00
Alter cargo package
Cargo.lock modification note.
Try to make it clearer that it is not modifying the actual Cargo.lock file, but the one that is being stored in the .crate file.
This commit is contained in:
parent
9328b12b35
commit
753b03f652
|
@ -532,7 +532,7 @@ fn compare_resolve(
|
|||
)
|
||||
}
|
||||
};
|
||||
let msg = format!("package `{}` added to Cargo.lock{}", pkg_id, extra);
|
||||
let msg = format!("package `{}` added to the packaged Cargo.lock file{}", pkg_id, extra);
|
||||
config.shell().status_with_color("Note", msg, Color::Cyan)?;
|
||||
}
|
||||
Ok(())
|
||||
|
|
|
@ -186,8 +186,8 @@ fn note_resolve_changes() {
|
|||
[ARCHIVING] Cargo.toml
|
||||
[ARCHIVING] src/main.rs
|
||||
[UPDATING] `[..]` index
|
||||
[NOTE] package `mutli v0.1.0` added to Cargo.lock, was originally sourced from `[..]/foo/mutli`
|
||||
[NOTE] package `patched v1.0.0` added to Cargo.lock, was originally sourced from `[..]/foo/patched`
|
||||
[NOTE] package `mutli v0.1.0` added to the packaged Cargo.lock file, was originally sourced from `[..]/foo/mutli`
|
||||
[NOTE] package `patched v1.0.0` added to the packaged Cargo.lock file, was originally sourced from `[..]/foo/patched`
|
||||
",
|
||||
)
|
||||
.run();
|
||||
|
@ -310,7 +310,7 @@ fn out_of_date_lock_note() {
|
|||
[ARCHIVING] Cargo.toml
|
||||
[ARCHIVING] src/main.rs
|
||||
[UPDATING] `[..]` index
|
||||
[NOTE] package `dep v2.0.0` added to Cargo.lock, previous version was `1.0.0`
|
||||
[NOTE] package `dep v2.0.0` added to the packaged Cargo.lock file, previous version was `1.0.0`
|
||||
",
|
||||
)
|
||||
.run();
|
||||
|
|
Loading…
Reference in a new issue