# 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 = "synd-o11y" version = "0.1.8" authors = ["ymgyt"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "syndicationd lib for tracing and opentelemetry ecosystem" homepage = "https://docs.syndicationd.ymgyt.io/synd-term/" readme = "README.md" keywords = [ "feed", "rss", "atom", "tui", ] categories = ["command-line-utilities"] license = "MIT OR Apache-2.0" repository = "https://github.com/ymgyt/syndicationd" [package.metadata.dist] dist = false [lib] name = "synd_o11y" path = "src/lib.rs" [dependencies.axum] version = "0.7.5" default-features = false [dependencies.http] version = "1.1" [dependencies.opentelemetry] version = "0.24.0" [dependencies.opentelemetry-appender-tracing] version = "0.5.0" default-features = false [dependencies.opentelemetry-http] version = "0.13.0" [dependencies.opentelemetry-otlp] version = "0.17.0" features = [ "trace", "metrics", "logs", "grpc-tonic", ] default-features = false [dependencies.opentelemetry-semantic-conventions] version = "0.16.0" [dependencies.opentelemetry-stdout] version = "0.5.0" features = ["metrics"] optional = true default-features = false [dependencies.opentelemetry_sdk] version = "0.24.1" features = [ "logs", "rt-tokio", ] [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.5" features = [ "rustls-tls", "json", ] default-features = false [dependencies.serde] version = "1" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1.0.127" optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-opentelemetry] version = "0.25.0" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "smallvec", "fmt", "ansi", "std", "env-filter", "time", "registry", "fmt", "std", ] default-features = false [dev-dependencies.insta] version = "1.39" features = [ "yaml", "redactions", ] [dev-dependencies.opentelemetry-proto] version = "0.7.0" features = [ "gen-tonic", "trace", "metrics", "logs", "with-serde", ] [dev-dependencies.tokio] version = "1.39" features = [ "macros", "rt-multi-thread", "sync", ] default-features = false [dev-dependencies.tonic] version = "0.12.1" features = ["transport"] [features] opentelemetry-stdout = [ "dep:opentelemetry-stdout", "dep:serde_json", ] [lints.clippy] cargo_common_metadata = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" multiple_crate_versions = "allow" must_use_candidate = "allow" negative_feature_names = "warn" redundant_feature_names = "warn" wildcard_dependencies = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid"