lambda-otel-lite 0.19.1

Lightweight OpenTelemetry instrumentation for AWS Lambda
Documentation
# 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"
rust-version = "1.84"
name = "lambda-otel-lite"
version = "0.19.1"
authors = ["Alessandro Bologna <alessandro.bologna@gmail.com>"]
build = false
exclude = ["examples/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight OpenTelemetry instrumentation for AWS Lambda"
documentation = "https://docs.rs/lambda-otel-lite"
readme = "README.md"
keywords = [
    "aws",
    "lambda",
    "opentelemetry",
    "tracing",
    "telemetry",
]
categories = [
    "development-tools::debugging",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/dev7a/serverless-otlp-forwarder/tree/main/packages/rust/lambda-otel-lite"

[lib]
name = "lambda_otel_lite"
path = "src/lib.rs"

[dependencies.aws_lambda_events]
version = "1.1.2"
features = [
    "apigw",
    "alb",
    "sqs",
]
default-features = false

[dependencies.bon]
version = "3.6.4"

[dependencies.futures-executor]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.lambda-extension]
version = "1.0.4"

[dependencies.lambda_runtime]
version = "1.1.2"
features = [
    "anyhow",
    "tracing",
    "opentelemetry",
]

[dependencies.opentelemetry]
version = "0.31.0"
features = ["trace"]

[dependencies.opentelemetry-aws]
version = "0.19.0"
features = ["detector-aws-lambda"]

[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["rt-tokio"]

[dependencies.otlp-stdout-span-exporter]
version = "0.17.1"

[dependencies.pin-project]
version = "1.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.133"

[dependencies.tokio]
version = "1.45.1"
features = ["full"]

[dependencies.tower]
version = "0.5.2"

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.tracing-opentelemetry]
version = "0.32.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.urlencoding]
version = "2.1"

[dev-dependencies.aws_lambda_events]
version = "1.1.2"
features = [
    "apigw",
    "alb",
    "sqs",
    "kinesis",
]
default-features = false

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.http]
version = "1.3.1"

[dev-dependencies.libc]
version = "0.2.174"

[dev-dependencies.mockall]
version = "0.13.1"

[dev-dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
    "http-proto",
    "http-json",
    "reqwest-client",
]

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.reqwest]
version = "0.12.20"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dev-dependencies.sealed_test]
version = "1.0"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.tokio]
version = "1.45.1"
features = [
    "full",
    "rt",
    "sync",
    "macros",
    "test-util",
]