Generating lockfile without network access


I’m trying to generate a lockfile for a crate but I would like to prevent any sort of network access to ensure the build works offline. I tried “cargo generate-lockfile --frozen” but unfortunately it looks like “frozen” implies “locked” ( Any reason why and any alternative?


I need this functionality too. Here’s the cargo issue: