mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Replace to-be-deprecated std:🔚:home_dir()
with dirs::home_dir()
Found by building on nightly
This commit is contained in:
parent
792dd8867a
commit
e4556e8929
@ -18,6 +18,7 @@ bitcoin = "0.13"
|
|||||||
chan = "0.1"
|
chan = "0.1"
|
||||||
chan-signal = "0.3"
|
chan-signal = "0.3"
|
||||||
clap = "2.31"
|
clap = "2.31"
|
||||||
|
dirs = "1.0"
|
||||||
error-chain = "0.12"
|
error-chain = "0.12"
|
||||||
glob = "0.2"
|
glob = "0.2"
|
||||||
hex = "0.3"
|
hex = "0.3"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use clap::{App, Arg};
|
use clap::{App, Arg};
|
||||||
use std::env::home_dir;
|
use dirs::home_dir;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
@ -5,6 +5,7 @@ extern crate bincode;
|
|||||||
extern crate bitcoin;
|
extern crate bitcoin;
|
||||||
extern crate chan_signal;
|
extern crate chan_signal;
|
||||||
extern crate crypto;
|
extern crate crypto;
|
||||||
|
extern crate dirs;
|
||||||
extern crate glob;
|
extern crate glob;
|
||||||
extern crate hex;
|
extern crate hex;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
Loading…
Reference in New Issue
Block a user