title: How can the location of Cargo's configuration directory be overridden?
body: <p>It seems that the default behavior of Cargo when searching for its configuration directory is to look in the current user's home directory (<code>~/.cargo</code> on my system). How can this behavior be modified to make Cargo look in a user-supplied directory instead?</p>