From: Riccardo Casatta Date: Thu, 19 Nov 2020 14:22:46 +0000 (+0100) Subject: Use dirs-next instead of dirs since the latter is unmantained X-Git-Tag: v0.1.0~26 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.SegwitCodeLengthError.html?a=commitdiff_plain;h=d3c834eee2130b06b74e22e8778b47c32da54b5b;p=bdk-cli Use dirs-next instead of dirs since the latter is unmantained --- diff --git a/Cargo.toml b/Cargo.toml index 54b4623..b9069d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ bdk-testutils-macros = { version = "0.1.0-beta.1", path = "./testutils-macros" } serial_test = "0.4" lazy_static = "1.4" rustyline = "6.0" -dirs = "2.0" +dirs-next = "2.0" env_logger = "0.7" [[example]] diff --git a/examples/repl.rs b/examples/repl.rs index 09e75f9..e399143 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -48,7 +48,7 @@ use bdk::blockchain::esplora::EsploraBlockchainConfig; fn prepare_home_dir() -> PathBuf { let mut dir = PathBuf::new(); - dir.push(&dirs::home_dir().unwrap()); + dir.push(&dirs_next::home_dir().unwrap()); dir.push(".bdk-bitcoin"); if !dir.exists() {