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 default-features = false somewhere in the dependency tree.

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 compiler

Enables mimalloc

mimalloc feature