Earlier quoted context omitted.
Cargo can work offline. It’s a requirement of the Firefox and Debian build systems, for example. You can also use rustc without cargo if you really want, but Cargo is really good, so I don’t particularly recommend it.
Does that mean it only needs internet for the first build. And then, subsequent builds won’t need internet connection (if I don’t add new dependencies, of course), kind of like Maven?
It should be technically possible to replicate cargo's functionality by predownloading the dependencies and deploying them... Before actually needing them.
Nevertheless if you depend on any external crates you have to have access to them, even if only by referencing a local path.