This gist is intended to loosely describe what to expect when you want to mirror crates.io (in particulair, using romt)
This is written on 12 of April, 2022
- crates.io has 80,843 crates
- Download size is ~70GB
- Download lasted for about 6 hours
The command i have used for downloading crates.io:
romt crate -v --keep-going update -j=64
-v
: verbose--keep-going
: ignore errors-j=64
: Number of jobs
Note: if you see messages like ResourseClosedError
, downgrade the number of jobs or somehow optimize your pc.
Also, if you see errors like ConnectTimeout
and/or ReadTimeout
try downgrading number of jobs or look at the issue; these errors mean that you hit limit of your network (ConnectTimeout
) or disk (ReadTimeout
) power.
At the end, here are characteristics of the PC (actually, laptop) i've used:
- OS: Windows 10
- RAM: 8GB
- ROM: ~360GB free before mirroring, HDD
- Processor: Intel Core i7-3537U
P.S. panamax has a bug on Windows that locks you to download crates.io only to C:, therefore i didn't use it. For details, see this issue