[package]
edition = "2021"
name = "cgn-telemetry"
version = "0.1.1"
authors = ["Cognitora Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cognitora: tracing, OTLP, and Prometheus wiring shared by every binary"
homepage = "https://github.com/antonellof/cognitora-inference"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/antonellof/cognitora-inference"
[lib]
name = "cgn_telemetry"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.axum]
version = "0.7"
features = [
"macros",
"ws",
]
[dependencies.cgn-core]
version = "0.1.1"
[dependencies.hyper]
version = "1.4"
features = ["full"]
[dependencies.opentelemetry]
version = "0.24"
features = ["trace"]
[dependencies.opentelemetry-otlp]
version = "0.17"
features = ["tonic"]
[dependencies.opentelemetry_sdk]
version = "0.24"
features = ["rt-tokio"]
[dependencies.prometheus]
version = "0.13"
default-features = false
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.25"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[lints.clippy]
large_enum_variant = "allow"
result_large_err = "allow"
[lints.rust]
dead_code = "allow"