nym-bin-common 0.6.0

Common code for nym binaries
[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]
atty = "0.2"
clap = { version = "4.0", features = ["derive"] }
clap_complete = "4.0"
clap_complete_fig = "4.0"
log = { workspace = true }
pretty_env_logger = "0.4.0"
semver = "0.11"
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 }
opentelemetry = { version = "0.19.0", optional = true, features = ["rt-tokio"] }


[build-dependencies]
vergen = { version = "=7.4.3", default-features = false, features = [
    "build",
    "git",
    "rustc",
    "cargo",
] }

[features]
default = []
output_format = ["serde_json"]
tracing = [
    "tracing-subscriber",
    "tracing-tree",
    "opentelemetry-jaeger",
    "tracing-opentelemetry",
    "opentelemetry",
]