lambda_runtime 1.1.1

AWS Lambda Runtime
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.0"
name = "lambda_runtime"
version = "1.1.1"
authors = [
    "David Calavera <dcalaver@amazon.com>",
    "Harold Sun <sunhua@amazon.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AWS Lambda Runtime"
readme = "README.md"
keywords = [
    "AWS",
    "Lambda",
    "API",
]
categories = ["web-programming::http-server"]
license = "Apache-2.0"
repository = "https://github.com/aws/aws-lambda-rust-runtime"
resolver = "3"

[package.metadata.docs.rs]
all-features = true

[features]
anyhow = ["dep:anyhow"]
concurrency-tokio = []
default = ["tracing"]
eyre = ["dep:eyre"]
graceful-shutdown = [
    "tokio/rt",
    "tokio/signal",
    "dep:lambda-extension",
]
miette = ["dep:miette"]
opentelemetry = ["opentelemetry-semantic-conventions"]
tracing = ["lambda_runtime_api_client/tracing"]

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

[[test]]
name = "tenant_id_integration"
path = "tests/tenant_id_integration.rs"

[dependencies.anyhow]
version = "1.0.86"
optional = true

[dependencies.async-stream]
version = "0.3"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.eyre]
version = "0.6.12"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.0"

[dependencies.http-body-util]
version = "0.1"

[dependencies.http-serde]
version = "2.0"

[dependencies.hyper]
version = "1.0"
features = [
    "http1",
    "client",
]

[dependencies.lambda-extension]
version = "1.0"
optional = true
default-features = false

[dependencies.lambda_runtime_api_client]
version = "1.0.2"
default-features = false

[dependencies.miette]
version = "7.2.0"
optional = true

[dependencies.opentelemetry-semantic-conventions]
version = "0.31"
features = ["semconv_experimental"]
optional = true

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

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "^1"

[dependencies.serde_path_to_error]
version = "0.1.11"

[dependencies.tokio]
version = "1.46"
features = [
    "macros",
    "io-util",
    "sync",
    "rt-multi-thread",
]

[dependencies.tokio-stream]
version = "0.1.2"

[dependencies.tower]
version = "0.5"
features = ["util"]

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

[dev-dependencies.httpmock]
version = "0.8.1"

[dev-dependencies.hyper-util]
version = "0.1.1"
features = [
    "client",
    "client-legacy",
    "http1",
    "server",
    "server-auto",
    "tokio",
]

[dev-dependencies.idna_adapter]
version = "=1.2.0"

[dev-dependencies.pin-project-lite]
version = "0.2"

[dev-dependencies.tracing-appender]
version = "0.2"

[dev-dependencies.tracing-capture]
version = "0.1.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]

[dev-dependencies.tracing-test]
version = "0.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]