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