Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions src/doc/src/commands/cargo-vendor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@

## NAME

cargo-vendor --- Vendor all dependencies locally
cargo-vendor --- Vendor all dependencies locally by copying their source code into your project repository.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vendor is a common term in package management area that I feel like we don't need to overly explain it.

Other commands also usually don't have such a long summary.


## SYNOPSIS

`cargo vendor` [_options_] [_path_]

## DESCRIPTION

This cargo subcommand will vendor all crates.io and git dependencies for a
project into the specified directory at `<path>`. After this command completes
the vendor directory specified by `<path>` will contain all remote sources from
dependencies specified. Additional manifests beyond the default one can be
specified with the `-s` option.
This cargo subcommand will vendor all crates.io and git dependencies for a project
into the specified directory at `<path>`. This enables building the project in offline
or restricted network environments.

After this command completes the vendor directory specified by `<path>` will contain all
remote sources from dependencies specified. Additional manifests beyond the default one
can be specified with the `-s` option.

The configuration necessary to use the vendored sources would be printed to
stdout after `cargo vendor` completes the vendoring process.
Expand Down
Loading