Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn main() -> Result<(), Error> {
let shutdown_hook = || async move {
std::mem::drop(log_guard);
};
lambda_runtime::spawn_graceful_shutdown_handler(shutdown_hook);
lambda_runtime::spawn_graceful_shutdown_handler(shutdown_hook).await;

lambda_runtime::run(func).await?;
Ok(())
Expand Down
3 changes: 3 additions & 0 deletions lambda-events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@ sqs = ["serde_with"]
streams = []
documentdb = []
eventbridge = ["chrono", "serde_with"]

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions lambda-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ tokio = { version = "1.0", features = [
tokio-stream = "0.1.2"
tower = { workspace = true, features = ["make", "util"] }
tracing = { version = "0.1", features = ["log"] }

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions lambda-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ lambda_runtime_api_client = { version = "0.12.0", path = "../lambda-runtime-api-
log = "^0.4"
maplit = "1.0"
tokio = { version = "1.0", features = ["macros"] }

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions lambda-runtime-api-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ tower-service = { workspace = true }
tokio = { version = "1.0", features = ["io-util"] }
tracing = { version = "0.1", features = ["log"], optional = true }
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "json", "env-filter"], optional = true }

[package.metadata.docs.rs]
all-features = true
3 changes: 3 additions & 0 deletions lambda-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ idna_adapter = "=1.2.0"
lambda_runtime = { path = ".", features = ["tracing", "graceful-shutdown"] }
pin-project-lite = { workspace = true }
tracing-appender = "0.2"

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