Cargo Features

[dependencies]
governor = { version = "0.7.0", default-features = false, features = ["no_std", "std", "quanta", "jitter", "dashmap"] }
default = dashmap, jitter, quanta, std

These default features are set whenever governor is added without default-features = false somewhere in the dependency tree.

no_std

Enables compat_hash of no-std-compat

no-std-compat:

This will sadly also add hashbrown even if overriden by std. Cargo does not seem to provide any cfg(compat_hash && !std) functionality.
Luckily, hashbrown is really small.

std default

Enables parking_lot, futures-sink, futures-timer, and futures-util, std of no-std-compat and nonzero_ext

Affects default::DefaultClock, keyed::DefaultKeyedStateStore, default::DefaultClock, keyed::DefaultKeyedStateStore

quanta default

Enables quanta

Affects default::DefaultClock

jitter default = rand

Affects jitter::UniformJitter, sinks::SinkRateLimitExt.ratelimit_sink_with_jitter

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.

rand jitter
dashmap default

Affects keyed::DefaultKeyedStateStore