[package] name = "nym-bin-common" version = "0.6.0" description = "Common code for nym binaries" edition = { workspace = true } authors = { workspace = true } license = { workspace = true } repository = { workspace = true } [dependencies] const-str = "0.5.6" clap = { workspace = true, features = ["derive"] } clap_complete = "4.0" clap_complete_fig = "4.0" log = { workspace = true } pretty_env_logger = "0.4.0" semver = "0.11" schemars = { workspace = true, features = ["preserve_order"], optional = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, optional = true } ## tracing tracing-subscriber = { version = "0.3.16", features = [ "env-filter", ], optional = true } tracing-tree = { version = "0.2.2", optional = true } opentelemetry-jaeger = { version = "0.18.0", optional = true, features = [ "rt-tokio", "collector_client", "isahc_collector_client", ] } tracing-opentelemetry = { version = "0.19.0", optional = true } utoipa = { workspace = true, optional = true } opentelemetry = { version = "0.19.0", optional = true, features = ["rt-tokio"] } [build-dependencies] vergen = { version = "=8.2.6", default-features = false, features = [ "build", "git", "gitcl", "rustc", "cargo", ] } [features] default = [] openapi = ["utoipa"] output_format = ["serde_json"] bin_info_schema = ["schemars"] basic_tracing = ["tracing-subscriber"] tracing = [ "basic_tracing", "tracing-tree", "opentelemetry-jaeger", "tracing-opentelemetry", "opentelemetry", ]