Cargo Features
[dependencies]
aquatic_http = { version = "0.9.0", default-features = false, features = ["prometheus", "metrics", "mimalloc"] }
- default = mimalloc, prometheus
-
These default features are set whenever
aquatic_http
is added without
somewhere in the dependency tree.default-features = false - prometheus default = metrics
-
Enables metrics-util ^0.16, prometheus of aquatic_common
- metrics prometheus
-
Enables metrics ^0.22
metrics feature
Affects
config::Config.metrics
,config::MetricsConfig
… - mimalloc default
-
Use mimalloc allocator for much better performance.
Requires cmake and a C compilerEnables mimalloc
mimalloc feature