mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bin/drk: tokio -> async_std.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user