2.12. Vendoring Rust project dependencies
Create a local copy of the dependencies of your Rust project for offline redistribution and reuse the Cargo build tool. This procedure is called vendoring project dependencies. The vendored dependencies including Rust code packages for building your project on a Windows operating system are located in the vendor directory. Vendored dependencies can be used by Cargo without any connection to the internet.
Prerequisites
Procedure
To vendor your Rust project with dependencies by using Cargo, enter in the project directory:
$ cargo vendor