Cargo Features

[dependencies]
metrics-util = { version = "0.18.0", default-features = false, features = ["handles", "debugging", "layers", "layer-filter", "layer-router", "summary", "recency", "registry", "ahash"] }
default = debugging, handles, layers, recency, registry, summary

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

handles default registry = crossbeam-epoch, crossbeam-utils
debugging default = indexmap, ordered-float, registry

Affects metrics-util::debugging

layers default = layer-filter, layer-router
layer-filter layers = aho-corasick
layer-router layers = radix_trie
summary default = sketches-ddsketch
recency default = quanta, registry
registry default debugging recency = crossbeam-epoch, crossbeam-utils, handles, hashbrown

Affects metrics-util::registry

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.

ahash implicit feature

Enables ahash

ahash:

A non-cryptographic hash function using AES-NI for high performance

aho-corasick layer-filter?
crossbeam-epoch handles registry
crossbeam-utils handles registry
hashbrown registry
indexmap debugging
ordered-float debugging
quanta recency
radix_trie layer-router?
sketches-ddsketch summary