Due to some company restriction, I am working in an offline mode. (No internet connection on PC, I can only copy source via a CD/USB).
In such a scenario, I am considering to use Cargo-Local-Registery (GitHub - dhovart/cargo-local-registry: A cargo subcommand to manage local registries). How to install Cargo Local Registry on my PC without an internet connection.
You would copy the
Cargo.lock files to the system with internet connection, run cargo-local-registry on this system and then copy the result back to the system without internet connection.
You may want to use
cargo vendor instead by the way. This is a command built into cargo. You would use the same workflow.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.