@@ -2467,10 +2467,7 @@ impl Config {
24672467
24682468 #[ cfg( feature = "hickory-dns" ) ]
24692469 "google" => DnsConfig :: HickoryDns ( ResolverConfig :: google ( ) ) ,
2470- #[ cfg( all(
2471- feature = "hickory-dns" ,
2472- any( feature = "dns-over-tls" , feature = "dns-over-native-tls" )
2473- ) ) ]
2470+ #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-tls" ) ) ]
24742471 "google_tls" => DnsConfig :: HickoryDns ( ResolverConfig :: google_tls ( ) ) ,
24752472 #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-https" ) ) ]
24762473 "google_https" => DnsConfig :: HickoryDns ( ResolverConfig :: google_https ( ) ) ,
@@ -2479,20 +2476,14 @@ impl Config {
24792476
24802477 #[ cfg( feature = "hickory-dns" ) ]
24812478 "cloudflare" => DnsConfig :: HickoryDns ( ResolverConfig :: cloudflare ( ) ) ,
2482- #[ cfg( all(
2483- feature = "hickory-dns" ,
2484- any( feature = "dns-over-tls" , feature = "dns-over-native-tls" )
2485- ) ) ]
2479+ #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-tls" ) ) ]
24862480 "cloudflare_tls" => DnsConfig :: HickoryDns ( ResolverConfig :: cloudflare_tls ( ) ) ,
24872481 #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-https" ) ) ]
24882482 "cloudflare_https" => DnsConfig :: HickoryDns ( ResolverConfig :: cloudflare_https ( ) ) ,
24892483
24902484 #[ cfg( feature = "hickory-dns" ) ]
24912485 "quad9" => DnsConfig :: HickoryDns ( ResolverConfig :: quad9 ( ) ) ,
2492- #[ cfg( all(
2493- feature = "hickory-dns" ,
2494- any( feature = "dns-over-tls" , feature = "dns-over-native-tls" )
2495- ) ) ]
2486+ #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-tls" ) ) ]
24962487 "quad9_tls" => DnsConfig :: HickoryDns ( ResolverConfig :: quad9_tls ( ) ) ,
24972488 #[ cfg( all( feature = "hickory-dns" , feature = "dns-over-https" ) ) ]
24982489 "quad9_https" => DnsConfig :: HickoryDns ( ResolverConfig :: quad9_https ( ) ) ,
0 commit comments