[GH-ISSUE #1444] Explicit usage of crate features #674

Open
opened 2026-03-15 23:46:55 +03:00 by kerem · 0 comments
Owner

Originally created by @daxpedda on GitHub (Apr 7, 2021).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1444

Is your feature request related to a problem? Please describe.
As Cargos crate feature are additive, you may not have control over which features are actually used, like dnssec-ring vs dnssec-openssl, or dns-over-rustls vs dns-over-native-tls vs dns-over-openssl.

Describe the solution you'd like
I would like to have an API that explicitly enforces usage of one of these features. E.g.:
https://docs.rs/reqwest/0.11.2/reqwest/struct.ClientBuilder.html#method.trust_dns

Originally created by @daxpedda on GitHub (Apr 7, 2021). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1444 **Is your feature request related to a problem? Please describe.** As Cargos crate feature are additive, you may not have control over which features are actually used, like `dnssec-ring` vs `dnssec-openssl`, or `dns-over-rustls` vs `dns-over-native-tls` vs `dns-over-openssl`. **Describe the solution you'd like** I would like to have an API that explicitly enforces usage of one of these features. E.g.: https://docs.rs/reqwest/0.11.2/reqwest/struct.ClientBuilder.html#method.trust_dns
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#674
No description provided.