Cargo Features

[dependencies]
memberlist-quic = { version = "0.2.0", default-features = false, features = ["compression", "encryption", "quinn", "s2n", "serde", "metrics", "tokio", "async-std", "smol", "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", "test"] }
default = compression, quinn

These default features are set whenever memberlist-quic is added without default-features = false somewhere in the dependency tree.

compression default = rayon, weezl

Affects memberlist-quic::compressor, handle_ping::no_label_with_compression, handle_ping::with_label_with_compression, packet_piggyback::packet_piggyback, promised_ping::promised_ping, promised_ping::promised_ping_no_label, promised_ping::promised_ping_compression_only, promised_ping::promised_ping_label_and_compression, promised_push_pull::promised_push_pull, promised_push_pull::promised_push_pull_no_label, promised_push_pull::promised_push_pull_compression_only, promised_push_pull::promised_push_pull_label_and_compression, send::send, tests::handle_compound_ping, tests::handle_indirect_ping, tests::handle_ping_wrong_node, tests::packet_piggyback, tests::promised_ping, tests::promised_push_pull, tests::send

encryption

encryption feature enables nothing, because of quic is secure by default, this feature only for adapt to other transport layer

Enables encryption of memberlist-core

quinn default = rustls

Enables quinn ^0.10.2, quinn of agnostic

Affects stream_layer::quinn

s2n = s2n-quic, s2n-quic-transport

Enables bilock and unstable of futures

Affects stream_layer::s2n

serde = humantime-serde

Enables serde, serde of indexmap and memberlist-core

metrics

Enables metrics ^0.22, metrics of memberlist-core

tokio

Enables tokio of agnostic

Affects memberlist-quic::TokioQuicTransport

async-std

Enables async-std of agnostic

Affects memberlist-quic::AsyncStdQuicTransport

smol

Enables smol of agnostic

Affects memberlist-quic::SmolQuicTransport

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? dnssec-ring?

enable DNS node address resolver

Enables dns of agnostic and nodecraft

dns-over-quic = dns

Enables dns-over-quic of nodecraft

dns-over-h3 = dns

Enables dns-over-h3 of nodecraft

dns-over-https-rustls = dns

Enables dns-over-https-rustls of nodecraft

dns-over-rustls = dns

Enables dns-over-rustls of nodecraft

dns-over-openssl = dns

Enables dns-over-openssl of nodecraft

dns-over-native-tls = dns

Enables dns-over-native-tls of nodecraft

dns-webpki-roots = dns

Enables dns-webpki-roots of nodecraft

dns-native-certs = dns

Enables dns-native-certs of nodecraft

dnssec-openssl = dns

Enables dnssec-openssl of nodecraft

dnssec-ring = dns

Enables dnssec-ring of nodecraft

dnssec = dns

Enables dnssec of nodecraft

test = rcgen

enable test feature

Enables test of memberlist-core

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.

agnostic async-std? dns? quinn smol? tokio?
humantime-serde serde?
rustls quinn

Enables rustls ^0.21.9

rcgen test?

Enables rcgen ^0.12

test

s2n-quic s2n?

Enables s2n-quic

s2n

s2n-quic-transport s2n?

Enables s2n-quic-transport ^0.36

rayon compression

Enables rayon

compression

weezl compression