I like the design of crates.io and how the underlying storage is just a git repo. It's really awesome.
However the moment you're on slightly flaky internet it becomes quite painful to update. I've just spent 10 minutes waiting for
cargo update to pull a few months worth of updates. To be clear, I'm talking about the
Updating crates.io index time and not the time it takes to download updated crates. I think this disproportionately impacts people in countries with typically worse internet than the US/EU, and regular contributors/users of rust are unlikely to experience this.
Is it possible to either:
- Regularly squash the crates.io git history, so it's a single commit we need to pull
- Change cargo to
git clone --depth=1without pulling the intermediate commits?