Cargo Features

[dependencies]
agnostic = { version = "0.7.1", default-features = false, features = ["std", "alloc", "process", "net", "quinn", "tokio-io", "tokio", "async-std", "smol", "tracing", "dns", "dns-over-quic", "dns-over-h3", "dns-over-https-rustls", "dns-over-rustls", "dns-over-openssl", "dns-over-native-tls", "dns-webpki-roots", "dns-native-certs", "dnssec-openssl", "dnssec-ring", "dnssec"] }
default = std

The std feature is set by default whenever agnostic is added without default-features = false somewhere in the dependency tree.

std default async-std? dns? net? process? quinn? smol? tokio? tokio-io? tracing?

Enables std of agnostic-lite

alloc

Enables alloc of agnostic-lite

process = std

Enables agnostic-process

Affects async_std::process, agnostic::process, smol::process, tokio::process

net = std

Enables agnostic-net

Affects agnostic::net

quinn = quinn-udp, std

Enables log of quinn

quinn:

Configure tracing to log events via log if no tracing subscriber exists.

Affects async_std::quinn, agnostic::quinn, smol::quinn, tokio::quinn

tokio-io = std

Enables tokio of agnostic-io

tokio = std

Runtime related features

Enables runtime-tokio of optional quinn, tokio of agnostic-lite, optional agnostic-dns, optional agnostic-net, and optional agnostic-process

Affects agnostic::tokio

async-std = std

Enables runtime-async-std of optional quinn, async-std of agnostic-lite, optional agnostic-dns, optional agnostic-net, and optional agnostic-process

Affects agnostic::async_std

smol = std

Enables runtime-smol of optional quinn, smol of agnostic-lite, optional agnostic-dns, optional agnostic-net, and optional agnostic-process

Affects agnostic::smol

tracing = std

Enables tracing of agnostic-dns

dns dns-native-certs? dns-over-h3? dns-over-https-rustls? dns-over-native-tls? dns-over-openssl? dns-over-quic? dns-over-rustls? dns-webpki-roots? dnssec? dnssec-openssl? = std

DNS related features

Enables agnostic-dns

Affects agnostic::dns

dns-over-quic = dns

Enables dns-over-quic of agnostic-dns

dns-over-h3 = dns

Enables dns-over-h3 of agnostic-dns

dns-over-https-rustls = dns

Enables dns-over-https-rustls of agnostic-dns

dns-over-rustls = dns

Enables dns-over-rustls of agnostic-dns

dns-over-openssl = dns

Enables dns-over-openssl of agnostic-dns

dns-over-native-tls = dns

Enables dns-over-native-tls of agnostic-dns

dns-webpki-roots = dns

Enables dns-webpki-roots of agnostic-dns

dns-native-certs = dns

Enables dns-native-certs of agnostic-dns

dnssec-openssl = dns

Enables dnssec-openssl of agnostic-dns

dnssec-ring = dnssec

Enables dnssec-ring of agnostic-dns

dnssec dnssec-ring? = dns

Enables dnssec of agnostic-dns

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

quinn-udp quinn?