[package] name = "lambda_runtime" version = "0.13.0" authors = [ "David Calavera ", "Harold Sun ", ] description = "AWS Lambda Runtime" edition = "2021" license = "Apache-2.0" repository = "https://github.com/awslabs/aws-lambda-rust-runtime" categories = ["web-programming::http-server"] keywords = ["AWS", "Lambda", "API"] readme = "../README.md" [features] default = ["tracing"] tracing = ["lambda_runtime_api_client/tracing"] # enables access to the Tracing utilities opentelemetry = ["opentelemetry-semantic-conventions"] # enables access to the OpenTelemetry layers and utilities anyhow = ["dep:anyhow"] # enables From for Diagnostic for anyhow error types, see README.md for more info eyre = ["dep:eyre"] # enables From for Diagnostic for eyre error types, see README.md for more info miette = ["dep:miette"] # enables From for Diagnostic for miette error types, see README.md for more info [dependencies] anyhow = { version = "1.0.86", optional = true } async-stream = "0.3" base64 = { workspace = true } bytes = { workspace = true } eyre = { version = "0.6.12", optional = true } futures = { workspace = true } http = { workspace = true } http-body = { workspace = true } http-body-util = { workspace = true } http-serde = { workspace = true } hyper = { workspace = true, features = ["http1", "client"] } hyper-util = { workspace = true, features = [ "client", "client-legacy", "http1", "tokio", ] } lambda_runtime_api_client = { version = "0.11.1", path = "../lambda-runtime-api-client", default-features = false } miette = { version = "7.2.0", optional = true } opentelemetry-semantic-conventions = { version = "0.14", optional = true } pin-project = "1" serde = { version = "1", features = ["derive", "rc"] } serde_json = "^1" serde_path_to_error = "0.1.11" tokio = { version = "1.0", features = [ "macros", "io-util", "sync", "rt-multi-thread", ] } tokio-stream = "0.1.2" tower = { workspace = true, features = ["util"] } tower-layer = { workspace = true } tracing = { version = "0.1", features = ["log"] } [dev-dependencies] httpmock = "0.7.0" hyper-util = { workspace = true, features = [ "client", "client-legacy", "http1", "server", "server-auto", "tokio", ] } pin-project-lite = { workspace = true }