48 lines
1.6 KiB
TOML
48 lines
1.6 KiB
TOML
[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]
|
|
clap = { workspace = true, features = ["derive"], optional = true }
|
|
clap_complete = { workspace = true, optional = true }
|
|
clap_complete_fig = { workspace = true, optional = true }
|
|
const-str = { workspace = true }
|
|
log = { workspace = true }
|
|
pretty_env_logger = { workspace = true }
|
|
schemars = { workspace = true, features = ["preserve_order"], optional = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
## tracing
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true }
|
|
tracing-tree = { workspace = true, optional = true }
|
|
opentelemetry-jaeger = { workspace = true, features = ["rt-tokio", "collector_client", "isahc_collector_client"], optional = true }
|
|
tracing-opentelemetry = { workspace = true, optional = true }
|
|
utoipa = { workspace = true, optional = true }
|
|
opentelemetry = { workspace = true, features = ["rt-tokio"], optional = true }
|
|
|
|
|
|
[build-dependencies]
|
|
vergen = { workspace = true, features = ["build", "git", "gitcl", "rustc", "cargo"] }
|
|
|
|
[features]
|
|
default = []
|
|
openapi = ["utoipa"]
|
|
output_format = ["serde_json", "dep:clap"]
|
|
bin_info_schema = ["schemars"]
|
|
basic_tracing = ["tracing-subscriber"]
|
|
tracing = [
|
|
"basic_tracing",
|
|
"tracing-tree",
|
|
"opentelemetry-jaeger",
|
|
"tracing-opentelemetry",
|
|
"opentelemetry",
|
|
]
|
|
clap = ["dep:clap", "dep:clap_complete", "dep:clap_complete_fig"]
|
|
models = []
|