Cargo Features

Hitbox has no features set by default.

[dependencies]
hitbox = { version = "0.1.1", features = ["derive", "metrics"] }
derive = hitbox-derive, serde_qs
metrics = lazy_static, prometheus

Affects hitbox::metrics

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.

hitbox-derive derive?
serde_qs derive?

Enables serde_qs ^0.8

prometheus metrics?

Enables prometheus ^0.12

lazy_static metrics?