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