Skip to content

Commit 596cb79

Browse files
committed
vendor: add --explicit-version to docs
1 parent 3235a3d commit 596cb79

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/etc/man/cargo-vendor.1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ Don\(cqt delete the "vendor" directory when vendoring, but rather keep all
5757
existing contents of the vendor directory
5858
.RE
5959
.sp
60+
\fB\-\-explicit\-version\fP
61+
.RS 4
62+
Normally versions are only added to disambiguate multiple versions of the same package.
63+
This option causes all directories in the "vendor" directory to be explicitly versioned,
64+
which makes it easier to track the history of vendored packages over time, and can help
65+
with the performance of re-vendoring when only a subset of the packages have changed.
66+
.RE
67+
.sp
6068
\fB\-\-respect\-source\-config\fP
6169
.RS 4
6270
Instead of ignoring \fB[source]\fP configuration by default in \fB.cargo/config\fP
@@ -237,4 +245,4 @@ cargo vendor \-s ../path/to/Cargo.toml
237245
.RE
238246
.SH "SEE ALSO"
239247
.sp
240-
\fBcargo\fP(1)
248+
\fBcargo\fP(1)

0 commit comments

Comments
 (0)