cargo vendor
all
Vendor all dependencies of a project into the specified directory (default: `vendor`).
More info →Examples (1)
Vendor dependencies and configure `cargo` to use the vendored sources in the current project
cargo vendor path/to/directory > .cargo/config.tomlmade by @shridhargupta | data from tldr-pages