Researching the output of: find ~/.cargo/registry/ -maxdepth 2 -type d


What is the output

find ~/.cargo/registry/ -maxdepth 2 -type d

at your system?

Mine is


Reason for asking is finding out which variations exist.
Thing I'm considering is pre-populating ~/.cargo/registry/cache

Geert Stappers

My assumption wrt the cargo registry dir would be the same as with the windows registry: the hash-like filename parts are somehow magically producedĀ¹, and without a full understanding of how that works, chances are changing something will bork your Rust install.
As for that full understanding about the cargo registry though, unfortunately I don't have it.

Ā¹Either by way of hashing or something else.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.