Cargo Features

nym-bin-common has no features set by default.

[dependencies]
nym-bin-common = { version = "1.20.5", features = ["openapi", "output_format", "bin_info_schema", "basic_tracing", "tracing", "clap", "models"] }
openapi = utoipa
output_format = serde_json

Enables clap

Affects nym-bin-common::output_format

bin_info_schema = schemars
basic_tracing tracing? = tracing-subscriber

Enables tracing

Affects logging::build_tracing_logger, logging::default_tracing_env_filter, logging::default_tracing_fmt_layer, logging::setup_tracing_logger

tracing = basic_tracing, opentelemetry, opentelemetry-jaeger, tracing-opentelemetry, tracing-tree
clap

Enables clap, clap_complete, and clap_complete_fig

Affects nym-bin-common::completions

models

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.

schemars bin_info_schema?

Enables schemars ^0.8.22

serde_json output_format?
tracing-subscriber basic_tracing?

Enables tracing-subscriber

tracing

tracing-tree tracing?

Enables tracing-tree ^0.2.2

opentelemetry-jaeger tracing?

Enables opentelemetry-jaeger ^0.18.0

tracing-opentelemetry tracing?

Enables tracing-opentelemetry ^0.19.0

utoipa openapi?
opentelemetry tracing?

Enables opentelemetry ^0.19.0