cargo vendor <path>

Vendor all dependencies for a project locally

Arguments

NameDescription
path

Options

NameDescription
--manifest-path <manifest-path>Path to Cargo.toml
-s, --sync <tomls...>
  • Repeatable ♾
--color <color>Coloring: auto, always, never
--config <config>
  • Repeatable ♾
-Z <unstable-features>
  • Repeatable ♾
-q, --quietDo not print cargo log messages
--no-deleteDon't delete older crates in the vendor directory
--respect-source-config
  • Repeatable ♾
--versioned-dirsAlways include version in subdir name
--no-merge-sources
--relative-path
--only-git-deps
--disallow-duplicates
-h, --helpPrint help information
-v, --verbose
  • Repeatable ♾
--frozenRequire Cargo.lock and cache are up to date
--lockedRequire Cargo.lock is up to date
--offlineRun without accessing the network