Cargo Features

[dependencies]
nodecraft = { version = "0.9.1", default-features = false, features = ["std", "alloc", "full", "agnostic", "hostaddr", "async", "dns", "quic-ring", "quic-aws-lc-rs", "h3-ring", "h3-aws-lc-rs", "https-ring", "https-aws-lc-rs", "tls-ring", "tls-aws-lc-rs", "webpki-roots", "rustls-platform-verifier", "dnssec-ring", "dnssec-aws-lc-rs", "smol_str_0_3", "triomphe_0_1", "resolver", "serde", "rkyv", "tracing", "quickcheck", "arbitrary", "idna"] }
default = std

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

std default agnostic? async? dns? full? resolver? = humantime-serde

Enables optional hostaddr, std of cheap-clone and optional futures and std of smol_str, thiserror, and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects impls::socket_addr, impls::address

alloc = smol_str_0_3

Enables alloc of cheap-clone and optional hostaddr

full = agnostic, dns, resolver, serde, std, tracing
agnostic dns? dnssec-aws-lc-rs? dnssec-ring? full? h3-aws-lc-rs? h3-ring? https-aws-lc-rs? https-ring? quic-aws-lc-rs? quic-ring? resolver? rustls-platform-verifier? tls-aws-lc-rs? tls-ring? webpki-roots? = async, std

enable runtime agnostic features

Enables agnostic

Affects resolver::AddressResolver

hostaddr resolver? = smol_str_0_3

Enables cheap-clone and hostaddr

Affects address::HostAddr, address::Domain, address::HostAddrBuffer, address::DomainBuffer

async agnostic? dns? resolver? = std

enable async features

Enables futures

Affects impls::socket_addr, impls::address

dns dnssec-aws-lc-rs? dnssec-ring? full? h3-aws-lc-rs? h3-ring? https-aws-lc-rs? https-ring? quic-aws-lc-rs? quic-ring? rustls-platform-verifier? tls-aws-lc-rs? tls-ring? webpki-roots? = async, resolver, std

enable dns node address resolver

Enables crossbeam-skiplist and hickory-resolver ^0.25, dns of agnostic

Affects impls::dns

quic-ring = dns

Enables quic-ring of agnostic

quic-aws-lc-rs = dns

Enables quic-aws-lc-rs of agnostic

h3-ring = dns

Enables h3-ring of agnostic

h3-aws-lc-rs = dns

Enables h3-aws-lc-rs of agnostic

https-ring = dns

Enables https-ring of agnostic

https-aws-lc-rs = dns

Enables https-aws-lc-rs of agnostic

tls-ring = dns

Enables tls-ring of agnostic

tls-aws-lc-rs = dns

Enables tls-aws-lc-rs of agnostic

webpki-roots = dns

Enables webpki-roots of agnostic

rustls-platform-verifier = dns

Enables rustls-platform-verifier of agnostic

dnssec-ring = dns

Enables dnssec-ring of agnostic

dnssec-aws-lc-rs = dns

Enables dnssec-aws-lc-rs of agnostic

smol_str_0_3 alloc? hostaddr? std

Enables cheap-clone, smol_str, smol_str-0_3 of optional rkyv

triomphe_0_1

Enables triomphe_0_1 of cheap-clone

resolver dns? full? = async, hostaddr, std

enable node address resolver

Enables crossbeam-skiplist, net of agnostic

Affects nodecraft::resolver

serde full? = humantime-serde

Enables serde, serde of optional hickory-resolver ^0.25, serde of optional smol_str

rkyv

Enables rkyv

tracing full?

enable tracing

Enables tracing

quickcheck

Enables quickcheck, quickcheck of optional hostaddr

arbitrary

Enables arbitrary, arbitrary of optional hostaddr

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.

idna implicit feature

Enables idna

idna:

IDNA (Internationalizing Domain Names in Applications) and Punycode

humantime-serde serde? std
crossbeam-skiplist dns? resolver?