Use dirs-next instead of dirs since the latter is unmantained
This commit is contained in:
parent
dbfa0506db
commit
73326068f8
@ -61,7 +61,7 @@ bdk-testutils-macros = { version = "0.1.0-beta.1", path = "./testutils-macros" }
|
|||||||
serial_test = "0.4"
|
serial_test = "0.4"
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
rustyline = "6.0"
|
rustyline = "6.0"
|
||||||
dirs = "2.0"
|
dirs-next = "2.0"
|
||||||
env_logger = "0.7"
|
env_logger = "0.7"
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
@ -48,7 +48,7 @@ use bdk::blockchain::esplora::EsploraBlockchainConfig;
|
|||||||
|
|
||||||
fn prepare_home_dir() -> PathBuf {
|
fn prepare_home_dir() -> PathBuf {
|
||||||
let mut dir = PathBuf::new();
|
let mut dir = PathBuf::new();
|
||||||
dir.push(&dirs::home_dir().unwrap());
|
dir.push(&dirs_next::home_dir().unwrap());
|
||||||
dir.push(".bdk-bitcoin");
|
dir.push(".bdk-bitcoin");
|
||||||
|
|
||||||
if !dir.exists() {
|
if !dir.exists() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user