Updating crates.io index "manually"

I realize I can just create a dummy project and build it, but is there a way to tell cargo to update the crates.io index manually?

Can one just go to ~/.cargo/registry/index/github.com-1ecc6299db9ec823 and run git pull? Is that what the index update does? Will doing it manually break something?

That should be fine, or even just git fetch.

1 Like

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