[GH-ISSUE #1515] Maybe async_trait is not needed when feature tokio-runtime is disabled. #686

Open
opened 2026-03-15 23:48:30 +03:00 by kerem · 4 comments
Owner
Originally created by @FH0 on GitHub (Jul 6, 2021). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1515 https://github.com/bluejekyll/trust-dns/blob/main/crates/proto/src/lib.rs#L209-#L220
Author
Owner

@djc commented on GitHub (Jul 6, 2021):

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

<!-- gh-comment-id:874681682 --> @djc commented on GitHub (Jul 6, 2021): Would be good to make the dependency optional where possible. Would you mind submitting a PR?
Author
Owner

@FH0 commented on GitHub (Jul 6, 2021):

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

<!-- gh-comment-id:874687020 --> @FH0 commented on GitHub (Jul 6, 2021): It is difficult for me to help with PR. I post this issue because I run `cargo tree` after `tokio-runtime` disabled.
Author
Owner

@djc commented on GitHub (Jul 6, 2021):

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

<!-- gh-comment-id:874689519 --> @djc commented on GitHub (Jul 6, 2021): What's your use case? Are you using another runtime, or do you want to use trust-dns synchronously?
Author
Owner

@FH0 commented on GitHub (Jul 6, 2021):

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

<!-- gh-comment-id:874784595 --> @FH0 commented on GitHub (Jul 6, 2021): Sorry for the late reply, I only need the basic functions, which is the synchronization you said.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#686
No description provided.