3 ms·
https://github.com/rust-lang/cargo/pull/2857 https://github.com/rust-lang/cargo/pull/2857 This will be nice. I couldn't possibly sell rust to my employers if w
by Jtsummers 10y ago
https://github.com/rust-lang/cargo/pull/2857 https://github.com/rust-lang/cargo/pull/2857
This will be nice. I couldn't possibly sell rust to my employers if we had to go to an outside source for packages like [EDIT: rust/crate currently does, with crates.io]. Being able to host our own mirrors (for CM purposes, if nothing else) is essential.
- vvanders 10y agoFWIW hosting your own mirror is possible today. It just requires a bit of work to match the crates.io format and specify it via .cargo/config (http://doc.crates.io/config.html http://doc.crates.io/config.html). You can specify the index url as a "file://" and point it anywhere you like. Definitely like this new approach though.
- Jtsummers 10y agoThanks. My (limited) search for this a couple months back didn't turn anything up. This will be useful for my personal projects (I often work offline).