Cargo Features
[dependencies]
memberlist = { version = "0.2.1", 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
memberlist
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
Affects
memberlist::tokio
… - async-std
-
Affects
memberlist::async_std
… - smol
-
Affects
memberlist::smol
… - serde
-
Enables serde of memberlist-core, optional memberlist-net, and optional memberlist-quic
- metrics
-
Enables metrics of memberlist-core, optional memberlist-net, and optional memberlist-quic
- compression default
-
Enables compression of optional memberlist-net and optional memberlist-quic
- encryption default
-
Enables encryption of memberlist-core, optional memberlist-net, and optional memberlist-quic
memberlist-quic:
encryption feature enables nothing, because of quic is secure by default, this feature only for adapt to other transport layer
- quic default quinn? s2n? = memberlist-quic
- quinn = quic
-
Enables quinn of memberlist-quic
Affects
async_std::AsyncStdQuicMemberlist
,smol::SmolQuicMemberlist
,tokio::TokioQuicMemberlist
… - s2n = quic
-
Enables s2n of memberlist-quic
Affects
tokio::TokioS2nMemberlist
… - net tcp = memberlist-net
- tcp default native-tls? tls? = net
-
Affects
async_std::AsyncStdTcpMemberlist
,smol::SmolTcpMemberlist
,tokio::TokioTcpMemberlist
… - tls = tcp
-
Enables tls of memberlist-net
Affects
async_std::AsyncStdTlsMemberlist
,smol::SmolTlsMemberlist
,tokio::TokioTlsMemberlist
,async_std::AsyncStdTcpMemberlist
,smol::SmolTcpMemberlist
,tokio::TokioTcpMemberlist
… - native-tls = tcp
-
Enables native-tls of memberlist-net
Affects
async_std::AsyncStdNativeTlsMemberlist
,smol::SmolNativeTlsMemberlist
,tokio::TokioNativeTlsMemberlist
,async_std::AsyncStdTcpMemberlist
,smol::SmolTcpMemberlist
,tokio::TokioTcpMemberlist
… - dns default
-
enable DNS node address resolver
Enables dns of agnostic, optional memberlist-net, and optional memberlist-quic
- dns-over-quic
-
Enables dns-over-quic of optional memberlist-net and optional memberlist-quic
- dns-over-h3
-
Enables dns-over-h3 of optional memberlist-net and optional memberlist-quic
- dns-over-https-rustls
-
Enables dns-over-https-rustls of optional memberlist-net and optional memberlist-quic
- dns-over-rustls
-
Enables dns-over-rustls of optional memberlist-net and optional memberlist-quic
- dns-over-openssl
-
Enables dns-over-openssl of optional memberlist-net and optional memberlist-quic
- dns-over-native-tls
-
Enables dns-over-native-tls of optional memberlist-net and optional memberlist-quic
- dns-webpki-roots
-
Enables dns-webpki-roots of optional memberlist-net and optional memberlist-quic
- dns-native-certs
-
Enables dns-native-certs of optional memberlist-net and optional memberlist-quic
- dnssec-openssl
-
Enables dnssec-openssl of optional memberlist-net and optional memberlist-quic
- dnssec-ring
-
Enables dnssec-ring of optional memberlist-net and optional memberlist-quic
- dnssec
-
Enables dnssec of optional memberlist-net and optional memberlist-quic
- test
-
Enables test of memberlist-core, optional memberlist-net, and optional memberlist-quic
memberlist-core:
expose all tests fn for users who want to use other runtime see memberlist-wasm for more examples about how to use those tests fn
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 net? quic smol? tokio
- memberlist-net native-tls? net? tls?
-
Affects
memberlist::net
… - memberlist-quic quic quinn? s2n?
-
Affects
memberlist::quic
…