Cargo Features

[dependencies]
blutgang = { version = "0.3.6", default-features = false, features = ["journald", "xxhash", "no-cache", "debug-verbose", "selection-weighed-round-robin", "selection-random", "old-weighted-round-robin", "systemd"] }

Optional Blutgang features

default = selection-weighed-round-robin

The selection-weighed-round-robin feature is set by default whenever blutgang is added without default-features = false somewhere in the dependency tree.

journald = systemd

Affects system::log_journald

xxhash = xxhash-rust

4x faster hashing but potentially less secure

no-cache

enable this to disable caching

debug-verbose

Verbose terminal debug output

selection-weighed-round-robin default

default algo

selection-random

optional random algo

old-weighted-round-robin

old algo, does not account for max per second

systemd journald?

Enables systemd

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.

xxhash-rust xxhash?