58 lines
2.1 KiB
TOML
58 lines
2.1 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]
|
|
chrono = { workspace = true, optional = true }
|
|
cfg-if = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"], optional = true }
|
|
clap_complete = { workspace = true, optional = true }
|
|
clap_complete_fig = { workspace = true, optional = true }
|
|
const-str = { workspace = true }
|
|
opentelemetry = { workspace = true, optional = true }
|
|
opentelemetry-otlp = { workspace = true,features=["metrics", "grpc-tonic", "tls",
|
|
"tls-webpki-roots"], optional = true }
|
|
opentelemetry-semantic-conventions = { workspace = true, features = ["semconv_experimental"], optional = true }
|
|
opentelemetry-stdout = { workspace = true, features = ["trace", "metrics"], optional = true }
|
|
opentelemetry_sdk = { workspace = true, optional = true }
|
|
rand = { workspace = true, optional = true }
|
|
schemars = { workspace = true, features = ["preserve_order"], optional = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, optional = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-core = { workspace = true }
|
|
tracing-opentelemetry = { workspace = true, optional = true }
|
|
tracing-serde = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter", "json"] }
|
|
tracing-tree = { workspace = true }
|
|
utoipa = { workspace = true, 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"]
|
|
tokio-console = ["otel"]
|
|
otel = [
|
|
"chrono",
|
|
"tracing-opentelemetry",
|
|
"opentelemetry",
|
|
"opentelemetry-otlp",
|
|
"opentelemetry-semantic-conventions",
|
|
"opentelemetry-stdout",
|
|
"opentelemetry_sdk",
|
|
"serde_json",
|
|
"rand",
|
|
]
|
|
clap = ["dep:clap", "dep:clap_complete", "dep:clap_complete_fig"]
|
|
models = []
|