Selaa lähdekoodia

bin/drk: tokio -> async_std.

parazyd 4 vuotta sitten
vanhempi
sitoutus
dedef113dd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/bin/drk.rs

+ 1 - 1
src/bin/drk.rs

@@ -214,7 +214,7 @@ async fn start(config: &DrkConfig, options: ArgMatches<'_>) -> Result<()> {
     Err(Error::MissingParams)
 }
 
-#[tokio::main]
+#[async_std::main]
 async fn main() -> Result<()> {
     let args = clap_app!(drk =>
         (@arg CONFIG: -c --config +takes_value "Sets a custom config file")