Can I have a local global package repository?

I sometimes find myself working on planes and trains with little or no internet and I find the rust approach of wanting to download the same packages again just because I started a new project very constricting in such environments.

Is there a way to have a global package repository or global project?

Python essentially used to have global packages only and then you can create virtualenvs if there are conflicts and you want to. In Rust it seems the virtualenv option is default but is there a way to use a global installation?

Cargo already has a global package cache. It just refuses to use it without checking if it's up to date. Cargo has --offline flag to disable the annoying forced-update behavior.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.