[package] name = "otlp-stdout-client" version = "0.2.0" edition = "2021" authors = ["Alessandro Bologna "] description = "A custom HTTP client for OpenTelemetry OTLP exporters in serverless environments, writing to stdout for easy integration with AWS Lambda and forwarding to collectors" license = "MIT" repository = "https://github.com/dev7a/lambda-otlp-forwarder/" readme = "README.md" keywords = ["opentelemetry", "otlp", "stdout", "lambda", "aws"] categories = ["development-tools::debugging", "development-tools::profiling", "web-programming"] homepage = "https://github.com/dev7a/lambda-otlp-forwarder" documentation = "https://docs.rs/otlp-stdout-client" rust-version = "1.70" exclude = ["tests/*", "examples/*", "benches/*"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tracing = { version = "0.1", features = ["log"] } opentelemetry-http = "0.26.0" async-trait = "0.1.82" http = "1.1.0" bytes = "1.7.2" base64 = "0.22.1" flate2 = "1.0" opentelemetry-otlp = { version = "0.26.0", features = ["http-proto", "http-json"] } [dev-dependencies] sealed_test = "1.1.0" tokio = { version = "1.0", features = ["rt", "macros", "rt-multi-thread"] } opentelemetry = { version = "0.26", features = ["trace"] } opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio"] } [[example]] name = "basic" path = "examples/basic/main.rs"