Cargo Features

[dependencies]
serf-core = { version = "0.3.0", default-features = false, features = ["metrics", "encryption", "crc32", "murmur3", "xxhash64", "xxhash32", "xxhash3", "snappy", "zstd", "lz4", "brotli", "serde", "quickcheck", "test", "arbitrary"] }
default = metrics

The metrics feature is set by default whenever serf-core is added without default-features = false somewhere in the dependency tree.

metrics default

Enables metrics, metrics of memberlist-core

encryption = serde, serde_json

Enables encryption of memberlist-core

memberlist-core:

encryption related feature

Affects serf-core::key_manager, serf::serf_write_keyring_file, tests::estimate_max_keys_in_list_key_response_factor, tests::key_list_key_response_with_correct_size, key::KeyResponseMessage

crc32

Enables crc32 of memberlist-core

memberlist-core:

checksum related feature

murmur3

Enables murmur3 of memberlist-core

xxhash64

Enables xxhash64 of memberlist-core

xxhash32

Enables xxhash32 of memberlist-core

xxhash3

Enables xxhash3 of memberlist-core

snappy

Enables snappy of memberlist-core

zstd

Enables zstd of memberlist-core

lz4

Enables lz4 of memberlist-core

memberlist-core:

compression related feature

brotli

Enables brotli of memberlist-core

serde encryption?

Enables humantime-serde, serde, serde of bitflags, serde of indexmap and memberlist-core, serde of smallvec and smol_str

quickcheck

Enables quickcheck, quickcheck of memberlist-core

Affects types::fuzzy

test = paste, tempfile, tracing-subscriber

Enables test of memberlist-core

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

Affects crate_event::CrateEventType, serf-core::tests, base::tests

arbitrary

Enables arbitrary, arbitrary of memberlist-core and smol_str

Affects types::fuzzy

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.

serde_json encryption?
paste test?

Enables paste

test features

tracing-subscriber test?
tempfile test?