hickory-dns icon indicating copy to clipboard operation
hickory-dns copied to clipboard

Maybe `async_trait` is not needed when feature `tokio-runtime` is disabled.

Open FH0 opened this issue 3 years ago • 4 comments

https://github.com/bluejekyll/trust-dns/blob/main/crates/proto/src/lib.rs#L209-#L220

FH0 avatar Jul 06 '21 11:07 FH0

Would be good to make the dependency optional where possible. Would you mind submitting a PR?

djc avatar Jul 06 '21 11:07 djc

It is difficult for me to help with PR. I post this issue because I run cargo tree after tokio-runtime disabled.

FH0 avatar Jul 06 '21 11:07 FH0

What's your use case? Are you using another runtime, or do you want to use trust-dns synchronously?

djc avatar Jul 06 '21 11:07 djc

Sorry for the late reply, I only need the basic functions, which is the synchronization you said.

FH0 avatar Jul 06 '21 13:07 FH0