Cargo Features
[dependencies]
ant-node = { version = "0.3.6", default-features = false, features = ["extension-module", "loud", "nightly", "open-metrics", "otlp", "tracing-opentelemetry"] }
- default = open-metrics
-
The
open-metrics
feature is set by default wheneverant-node
is added without
somewhere in the dependency tree.default-features = false - extension-module
-
Enables pyo3
- loud
-
loud mode: print important messages to console
Enables loud of ant-networking
- nightly
- open-metrics default = prometheus-client
-
Enables open-metrics of ant-networking
- otlp
-
Enables otlp of ant-logging
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.
- prometheus-client open-metrics
-
Enables prometheus-client ^0.22
- pyo3 extension-module?
- tracing-opentelemetry implicit feature
-
Enables tracing-opentelemetry ^0.21
tracing-opentelemetry:
OpenTelemetry integration for tracing