Cargo Features
hyper-fast has no features set by default.
[dependencies]
hyper-fast = { version = "0.3.5", features = ["full", "response_time", "access_log", "metrics", "settings"] }
- full = access_log, metrics, response_time, settings
- response_time access_log? full? metrics? = humantime, humantime-serde
- access_log full? = log4rs, response_time
-
Affects
utils::setup_logging
… - metrics full? = crossbeam, crossbeam-epoch, crossbeam-skiplist, hdrhistogram, metered, parking_lot, prometheus, response_time
- settings full? = config, parking_lot
-
Affects
utils::load_config
…
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.
- config settings?
-
Enables config ^0.13.3
for settings
- humantime-serde response_time?
-
Enables humantime-serde
for response_time
- humantime response_time?
- log4rs access_log?
- metered metrics?
-
Enables metered
for metrics
- parking_lot metrics? settings?
- crossbeam metrics?
- crossbeam-epoch metrics?
- crossbeam-skiplist metrics?
- prometheus metrics?
- hdrhistogram metrics?