Cargo Features

[dependencies]
ruserf = { version = "0.1.0", default-features = false, features = ["tokio", "async-std", "smol", "serde", "metrics", "compression", "encryption", "quic", "quinn", "s2n", "net", "tcp", "tls", "native-tls", "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, dns, encryption, quic, tcp, tokio

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

tokio default

Enables tokio of memberlist

Affects ruserf::tokio

async-std

Enables async-std of memberlist

Affects ruserf::async_std

smol

Enables smol of memberlist

Affects ruserf::smol

serde

Enables serde of memberlist and ruserf-core

metrics

Enables metrics of memberlist and ruserf-core

compression default

Enables compression of memberlist

encryption default

Enables encryption of memberlist and ruserf-core

quic default quinn? s2n?

Enables quic of memberlist

quinn = quic

Enables quinn of memberlist

Affects async_std::AsyncStdQuicSerf, smol::SmolQuicSerf, tokio::TokioQuicSerf

s2n = quic

Enables s2n of memberlist

Affects async_std::AsyncStdS2nSerf, smol::SmolS2nSerf, tokio::TokioS2nSerf

net native-tls? tcp tls?

Enables net of memberlist

tcp default = net

Affects async_std::AsyncStdTcpSerf, smol::SmolTcpSerf, tokio::TokioTcpSerf

tls = net

Enables tls of memberlist

Affects async_std::AsyncStdTlsSerf, smol::SmolTlsSerf, tokio::TokioTlsSerf, async_std::AsyncStdTcpSerf, smol::SmolTcpSerf, tokio::TokioTcpSerf

native-tls = net

Enables native-tls of memberlist

Affects async_std::AsyncStdNativeTlsSerf, smol::SmolNativeTlsSerf, tokio::TokioNativeTlsSerf, async_std::AsyncStdTcpSerf, smol::SmolTcpSerf, tokio::TokioTcpSerf

dns default

enable DNS node address resolver

Enables dns of memberlist

dns-over-quic

Enables dns-over-quic of memberlist

dns-over-h3

Enables dns-over-h3 of memberlist

dns-over-https-rustls

Enables dns-over-https-rustls of memberlist

dns-over-rustls

Enables dns-over-rustls of memberlist

dns-over-openssl

Enables dns-over-openssl of memberlist

dns-over-native-tls

Enables dns-over-native-tls of memberlist

dns-webpki-roots

Enables dns-webpki-roots of memberlist

dns-native-certs

Enables dns-native-certs of memberlist

dnssec-openssl

Enables dnssec-openssl of memberlist

dnssec-ring

Enables dnssec-ring of memberlist

dnssec

Enables dnssec of memberlist

test

Enables test of memberlist and ruserf-core