You would copy the Cargo.toml and 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.