Cargo Features

aquatic_common has no features set by default.

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

Enables rustls

rustls feature

Affects aquatic_common::rustls_config


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


prometheus feature

Affects aquatic_common::spawn_prometheus_endpoint


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?