Replace async-std with tokio

Tokio is a far more mature async runtime.
This commit is contained in:
Anthony Oteri
2023-10-02 13:01:58 -04:00
parent 12dd298706
commit 80d1acf295
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ fn parse_registry_arg(host: &str) -> Result<Url, DredgeError> {
Url::parse(&host).or(Err(DredgeError::RegistryUrlError(host.to_string())))
}
#[async_std::main]
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), DredgeError> {
let args = Cli::parse();