File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ stored in the `target/package` directory. This performs the following steps:
26
26
- The original ` Cargo.toml ` file is rewritten and normalized.
27
27
- ` [patch] ` , ` [replace] ` , and ` [workspace] ` sections are removed from the
28
28
manifest.
29
- - ` Cargo.lock ` is automatically included if the package contains an
30
- executable binary or example target . {{man "cargo-install" 1}} will use the
31
- packaged lock file if the ` --locked ` flag is used.
29
+ - ` Cargo.lock ` is always included. When missing, a new lock file will be
30
+ generated . {{man "cargo-install" 1}} will use the packaged lock file if
31
+ the ` --locked ` flag is used.
32
32
- A ` .cargo_vcs_info.json ` file is included that contains information
33
33
about the current VCS checkout hash if available, as well as a flag if the
34
34
worktree is dirty.
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ DESCRIPTION
26
26
o [patch], [replace], and [workspace] sections are removed from the
27
27
manifest.
28
28
29
- o Cargo.lock is automatically included if the package contains an
30
- executable binary or example target . cargo-install(1) will use the
31
- packaged lock file if the --locked flag is used.
29
+ o Cargo.lock is always included. When missing, a new lock file will
30
+ be generated . cargo-install(1) will use the packaged lock file if
31
+ the --locked flag is used.
32
32
33
33
o A .cargo_vcs_info.json file is included that contains information
34
34
about the current VCS checkout hash if available, as well as a
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ stored in the `target/package` directory. This performs the following steps:
21
21
- The original ` Cargo.toml ` file is rewritten and normalized.
22
22
- ` [patch] ` , ` [replace] ` , and ` [workspace] ` sections are removed from the
23
23
manifest.
24
- - ` Cargo.lock ` is automatically included if the package contains an
25
- executable binary or example target . [ cargo-install(1)] ( cargo-install.html ) will use the
26
- packaged lock file if the ` --locked ` flag is used.
24
+ - ` Cargo.lock ` is always included. When missing, a new lock file will be
25
+ generated . [ cargo-install(1)] ( cargo-install.html ) will use the packaged lock file if
26
+ the ` --locked ` flag is used.
27
27
- A ` .cargo_vcs_info.json ` file is included that contains information
28
28
about the current VCS checkout hash if available, as well as a flag if the
29
29
worktree is dirty.
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ manifest.
35
35
.RE
36
36
.sp
37
37
.RS 4
38
- \h '-04' \(bu \h '+02' \fB Cargo.lock \fR is automatically included if the package contains an
39
- executable binary or example target . \fB cargo \- install \fR (1) will use the
40
- packaged lock file if the \fB \-\- locked \fR flag is used.
38
+ \h '-04' \(bu \h '+02' \fB Cargo.lock \fR is always included. When missing, a new lock file will be
39
+ generated . \fB cargo \- install \fR (1) will use the packaged lock file if
40
+ the \fB \-\- locked \fR flag is used.
41
41
.RE
42
42
.sp
43
43
.RS 4
You can’t perform that action at this time.
0 commit comments