cargo-vendor
Vendor all dependencies of a project into the specified directory (default: vendor). tldr-pages
On several platforms
Several platforms
Vendor dependencies and configure cargo to use the vendored sources in the current project
cargo vendor path/to/directory >.cargo/config.tomlIdentify