# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "unc-o11y" version = "0.12.2" authors = ["Hello Inc "] publish = true description = "Observability helpers for the unc codebase" readme = "README.md" license = "GPL-2.0-or-later" repository = "https://github.com/utnet-org/utility" [[bench]] name = "metrics" harness = false [dependencies.actix] version = "0.13.0" [dependencies.base64] version = "0.21" [dependencies.clap] version = "4.2.0" features = [ "derive", "env", "string", ] [dependencies.once_cell] version = "1.13.1" [dependencies.opentelemetry] version = "0.17.0" features = [ "rt-tokio", "trace", ] [dependencies.opentelemetry-otlp] version = "0.10.0" [dependencies.opentelemetry-semantic-conventions] version = "0.9.0" [dependencies.prometheus] version = "0.13.1" [dependencies.serde] version = "1.0.136" features = [ "alloc", "derive", "rc", ] [dependencies.serde_json] version = "1.0.68" [dependencies.strum] version = "0.24" features = ["derive"] [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1.28" features = [ "fs", "macros", "net", "rt-multi-thread", "sync", "time", ] [dependencies.tracing] version = "0.1.36" features = ["std"] [dependencies.tracing-appender] version = "0.2.2" [dependencies.tracing-opentelemetry] version = "0.17.0" [dependencies.tracing-subscriber] version = "0.3.15" features = [ "env-filter", "fmt", "registry", "std", ] [dependencies.unc-crypto] version = "0.12.2" [dependencies.unc-fmt] version = "0.12.2" [dependencies.unc-primitives-core] version = "0.12.2" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.itoa] version = "1.0" [dev-dependencies.smartstring] version = "1.0.1" [features] io_trace = [] nightly = [ "nightly_protocol", "unc-fmt/nightly", "unc-primitives-core/nightly", ] nightly_protocol = [ "unc-fmt/nightly_protocol", "unc-primitives-core/nightly_protocol", ] [lints.clippy] clone_on_copy = "deny" derivable_impls = "deny" len_zero = "deny" redundant_clone = "deny" single_char_pattern = "allow" [lints.clippy.all] level = "allow" priority = -100 [lints.clippy.correctness] level = "deny" priority = -50 [lints.clippy.perf] level = "deny" priority = -50 [lints.clippy.suspicious] level = "deny" priority = -50 [lints.rust] warnings = "deny"