Cargo Features

[dependencies]
fastmetrics = { version = "0.1.1", default-features = false, features = ["derive", "protobuf", "foldhash"] }
default = foldhash

The foldhash feature is set by default whenever fastmetrics is added without default-features = false somewhere in the dependency tree.

derive

Enables fastmetrics-derive

protobuf

Enables prost, prost-build, and prost-types

Affects format::protobuf

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.

foldhash default