3 ms·
I read the first and last link, had not seen the second. Looks like what I need, thank you. Surprised that Rust seems to expect people to have Internet access t
by corndoge 10y ago
I read the first and last link, had not seen the second. Looks like what I need, thank you. Surprised that Rust seems to expect people to have Internet access to build.
- steveklabnik 10y agoAs the FAQ says, it only expects it when it needs to get something from the internet, which is a pretty reasonable default. I am biased, though ;)
- flukus 10y agoIs this similar to nuget, if your familiar with that? Ie, do you have "pinned" versions in a project and only need to access the internet when a package is missing?
- steveklabnik 10y agoI haven't used nuget a whole ton, but yes, that sounds like it. Basically, you have two files: Cargo.toml and Cargo.lock. The toml file declares what version ranges you want to use, then after a successful build, the exact versions used were put into the lockfile. After that, nothing will hit the network or change up versions until you either modify the version ranges in the toml file or use the command-line interface to ask to upgrade.