Cargo Features

[dependencies]
ant-node = { version = "0.3.1", default-features = false, features = ["encrypt-records", "extension-module", "local", "loud", "metrics", "nightly", "open-metrics", "otlp", "upnp", "tracing-opentelemetry"] }
default = encrypt-records, metrics, open-metrics, upnp

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

encrypt-records default

Enables encrypt-records of ant-networking

extension-module

Enables pyo3 ^0.20

local

Enables process-metrics of ant-logging, local of ant-networking, local of ant-bootstrap and ant-evm

loud

loud mode: print important messages to console

Enables loud of ant-networking

metrics default
nightly
open-metrics default = prometheus-client

Enables open-metrics of ant-networking

otlp

Enables otlp of ant-logging

upnp default

Enables upnp of ant-networking

ant-networking:

tcp is automatically enabled when compiling for wasm32

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
pyo3 extension-module?

Enables pyo3 ^0.20

tracing-opentelemetry implicit feature

Enables tracing-opentelemetry ^0.21

tracing-opentelemetry:

OpenTelemetry integration for tracing