Cargo Features

aquatic_common has no features set by default.

[dependencies]
aquatic_common = { version = "0.9.0", features = ["rustls", "prometheus", "cpu-pinning"] }
rustls = rustls-pemfile

Enables rustls

rustls feature

Affects aquatic_common::rustls_config

prometheus

Enables metrics ^0.22, metrics-exporter-prometheus ^0.14, metrics-util ^0.16, and tokio

metrics:

prometheus feature

Affects aquatic_common::spawn_prometheus_endpoint

cpu-pinning

Experimental CPU pinning support. Requires hwloc (apt-get install libhwloc-dev)

Enables hwloc

cpu pinning feature

Affects aquatic_common::cpu_pinning

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.

rustls-pemfile rustls?