[package]
name = "opentelemetry-stdout"
version = "0.2.0"
description = "An OpenTelemetry exporter for stdout"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout"
readme = "README.md"
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["opentelemetry", "tracing", "metrics", "logs"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.65"
[features]
trace = ["opentelemetry/trace", "opentelemetry_sdk/trace", "futures-util"]
metrics = ["async-trait", "opentelemetry/metrics", "opentelemetry_sdk/metrics"]
logs = ["opentelemetry/logs", "opentelemetry_sdk/logs", "async-trait", "thiserror"]
[dependencies]
async-trait = { version = "0.1", optional = true }
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
thiserror = { version = "1", optional = true }
futures-util = { version = "0.3", optional = true, default-features = false }
opentelemetry = { version = "0.21", path = "../opentelemetry", default_features = false }
opentelemetry_sdk = { version = "0.21", path = "../opentelemetry-sdk", default_features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ordered-float = "4.0"
[dev-dependencies]
opentelemetry = { path = "../opentelemetry", features = ["metrics"] }
opentelemetry_sdk = { path = "../opentelemetry-sdk", features = ["rt-tokio", "metrics"] }
tokio = { version = "1.27", features = ["full"] }