cargo upgrades

This commit is contained in:
John Smith
2023-09-16 21:56:19 -04:00
parent a0fcc0fa49
commit d60c296303
10 changed files with 221 additions and 596 deletions

View File

@@ -25,7 +25,7 @@ cfg_if! {
pub async fn resolver(
config: config::ResolverConfig,
options: config::ResolverOpts,
) -> Result<AsyncResolver, ResolveError> {
) -> AsyncResolver {
AsyncResolver::tokio(config, options)
}
@@ -62,7 +62,6 @@ cfg_if! {
config::ResolverOpts::default(),
)
.await
.expect("failed to connect resolver"),
};
*resolver_lock = Some(resolver.clone());