Async file read
This commit is contained in:
parent
66e4131bd3
commit
6285c0b1a4
3 changed files with 7 additions and 8 deletions
|
|
@ -50,7 +50,7 @@ async fn main() -> Result<!, Error> {
|
|||
)
|
||||
.get_matches();
|
||||
|
||||
let config = Config::from_arg(matches.get_one::<Utf8PathBuf>("config"))?;
|
||||
let config = Config::from_arg(matches.get_one::<Utf8PathBuf>("config")).await?;
|
||||
|
||||
let (value_tx, mut value_rx) = mpsc::unbounded_channel::<Hook>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue