Cargo Features
[dependencies]
memberlist-core = { version = "0.6.0", default-features = false, features = ["metrics", "rayon", "crc32", "xxhash32", "xxhash64", "xxhash3", "murmur3", "encryption", "lz4", "brotli", "snappy", "zstd", "serde", "tokio", "test", "quickcheck", "arbitrary"] }
- default = crc32, encryption, metrics, snappy
-
These default features are set whenever
memberlist-core
is added without
somewhere in the dependency tree.default-features = false - metrics default
-
Enables metrics of memberlist-proto and metrics
metrics feature
- rayon
-
Enables rayon, rayon of memberlist-proto
- crc32 default = crc32fast
-
checksum related feature
Enables crc32 of memberlist-proto
- xxhash32
-
Enables xxhash32 of memberlist-proto and xxh32 of xxhash-rust
xxhash-rust:
XXH32 makes sense only on 32bit platforms
Enable xxh32 implementation - xxhash64
-
Enables xxhash64 of memberlist-proto and xxh64 of xxhash-rust
xxhash-rust:
Enable xxh64 implementation
- xxhash3
-
Enables xxhash3 of memberlist-proto and xxh3 of xxhash-rust
xxhash-rust:
Enable xxh3 implementation
- murmur3
-
Enables hash32, murmur3 of memberlist-proto
- encryption default = aead, aes-gcm, cbc, indexmap
-
encryption related feature
Enables encryption of memberlist-proto
Affects
memberlist-core::keyring
… - lz4 = lz4_flex
-
compression related feature
Enables lz4 of memberlist-proto
- brotli
-
Enables brotli of memberlist-proto and brotli
compression
- snappy default
-
Enables snap, snappy of memberlist-proto
- zstd
-
Enables zstd, zstd of memberlist-proto
- serde = humantime-serde
-
Enables serde of bytes, memberlist-proto, and nodecraft and serde
serde feature
- tokio
-
Enables tokio of agnostic-io
- test = tracing-subscriber
-
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
memberlist-core::tests
… - quickcheck
-
Enables quickcheck, quickcheck of memberlist-proto
- arbitrary
-
Enables arbitrary of memberlist-proto and arbitrary
arbitrary feature
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.
- humantime-serde serde?
- tracing-subscriber test?
-
Enables tracing-subscriber
test feature
- aead encryption
-
Enables aead
encryption
- aes-gcm encryption
- cbc encryption
- indexmap encryption
- crc32fast crc32
-
Enables crc32fast
checksum
- xxhash-rust xxhash3? xxhash32? xxhash64?
- lz4_flex lz4?