Cargo Features

memberlist-types has no features set by default.

[dependencies]
memberlist-types = { version = "0.2.0", features = ["metrics", "encryption", "serde", "rkyv"] }
metrics

Enables metrics

encryption = async-lock, indexmap
serde = base64

Enables serde, serde of smallvec-wrapper and smol_str, serde of bytes, ipnet, nodecraft, and optional indexmap

rkyv

Enables rkyv, rkyv of nodecraft, rkyv32 of smallvec-wrapper

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.

indexmap encryption?
async-lock encryption?
base64 serde?