Clone this repo:
  1. 8ca927b Bump to 0.1.13 by Alex Crichton · 1 year ago master 0.1.13
  2. 25ca6b7 Clarify wording of license information in README. by Alex Crichton · 1 year, 1 month ago
  3. f8db553 Update dependencies by Alex Crichton · 1 year, 1 month ago
  4. 6330ba1 Merge pull request #54 from zimbatm/cargo-0.22.0 by Alex Crichton · 1 year, 1 month ago
  5. 4aa02ef Merge pull request #53 from zimbatm/writeable-output by Alex Crichton · 1 year, 1 month ago


Build Status Build status

This is a Cargo subcommand which vendors all dependencies into a local directory using Cargo's support for source replacement.


Currently this can be installed with:

$ cargo install --git

You can also install precompiled binaries that are assembled on the CI for this crate.

Example Usage

Simply run cargo vendor inside of any Cargo project:

$ cargo vendor
add this to your .cargo/config for this project:

    replace-with = 'vendored-sources'

    directory = '/home/alex/code/cargo-vendor/vendor'

This will populate the vendor directory which contains the source of all dependencies. When configured, Cargo will then use this directory instead of looking at


This project is licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.