Cargo Features

[dependencies]
aquatic_ws = { version = "0.9.0", default-features = false, features = ["prometheus", "metrics", "mimalloc"] }
default = mimalloc, prometheus

These default features are set whenever aquatic_ws is added without default-features = false somewhere in the dependency tree.

prometheus default = metrics

Enables prometheus of aquatic_common

metrics prometheus

Enables metrics ^0.22 and metrics-util ^0.16

metrics:

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