# 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 = "sologger_log_transport" version = "0.2.0" authors = ["Will Kennedy"] build = false exclude = [ "/tests", "/examples", "/benches", "/docs", "/target", "/.github", "/.gitignore", "/.gitattributes", "/.gitmodules", "/.travis.yml", "/.cargo-ok", "/.git", "/.idea", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Provides support for both LogStash and OpenTelemetry exports for logs." readme = "README.md" keywords = [ "solana", "logstash", "opentelemetry", "logging", ] categories = ["development-tools::debugging"] license = "Apache-2.0" repository = "https://github.com/brytelands/sologger" [lib] name = "sologger_log_transport" path = "src/lib.rs" doctest = false [dependencies.anyhow] version = "1.0.89" [dependencies.log] version = "0.4.19" [dependencies.log4rs] version = "1.3.0" features = [ "json_format", "serde_json", "config_parsing", ] [dependencies.opentelemetry] version = "0.26.0" features = [ "logs", "metrics", "trace", ] [dependencies.opentelemetry-appender-log] version = "0.26.0" optional = true default-features = false [dependencies.opentelemetry-otlp] version = "0.26.0" features = [ "grpc-tonic", "http", "opentelemetry-http", "reqwest-client", "tonic", "logs", "metrics", "trace", ] optional = true [dependencies.opentelemetry-semantic-conventions] version = "0.26.0" optional = true [dependencies.opentelemetry-stdout] version = "0.26.0" features = [ "logs", "metrics", "trace", ] optional = true [dependencies.opentelemetry_api] version = "0.20.0" features = [ "metrics", "logs", "trace", ] optional = true [dependencies.opentelemetry_sdk] version = "0.26.0" features = [ "rt-tokio", "metrics", "logs", "trace", ] optional = true [dependencies.qoollo-log4rs-logstash] version = "0.2.0" optional = true [dependencies.qoollo-logstash-rs] version = "0.2.0" optional = true [dependencies.serde] version = "1.0.210" [dependencies.serde_json] version = "1.0.128" [dev-dependencies.tokio] version = "1.40.0" features = ["macros"] [dev-dependencies.tokio-test] version = "0.4.3" [features] logstash = [ "qoollo-logstash-rs", "qoollo-log4rs-logstash", ] otel = [ "opentelemetry-otlp", "opentelemetry-appender-log", "opentelemetry_sdk", "opentelemetry-stdout", "opentelemetry_api", "opentelemetry-semantic-conventions", ]