make cargo backend use .crates2.json file

This commit is contained in:
steven-omaha
2023-01-10 17:22:57 +01:00
parent c2072223c6
commit 487848e5bc
4 changed files with 30 additions and 54 deletions
+1 -1
View File
@@ -24,6 +24,6 @@ fn get_xdg_config_home() -> Result<PathBuf> {
}
}
fn get_home_dir() -> Result<PathBuf> {
pub(crate) fn get_home_dir() -> Result<PathBuf> {
Ok(env::var("HOME").context("getting $HOME variable")?.into())
}