Repository navigation
v0.2.0
Re-export every external crate that appears in the public API so that users
no longer have to add the same dependencies to their own Cargo.toml simply
to make this crate's macros and traits compile.
Added
- Crate-root re-exports of
aws_config,aws_smithy_runtime_api,
aws_smithy_types,opentelemetry,opentelemetry_sdk, and
opentelemetry_semantic_conventions. - Crate-root re-exports of
tracing,tracing_subscriber, and
tracing_opentelemetry, gated on thetracing-backendfeature. lambda::LambdaErrorandlambda::LambdaEventconvenience aliases for
lambda_runtime::Errorandlambda_runtime::LambdaEvent.- The
lambdamodule now publicly re-exportslambda_runtime(previously
#[doc(hidden)]). - New "Re-exported crates" section in the crate-level documentation.
Changed
aws-configmoved fromdev-dependenciestodependencies, with the
behavior-version-latestfeature pinned. Themake_lambda_runtime!and
aws_sdk_config_provider!macros now referenceaws-configthrough the
crate's re-export, so users no longer need to depend onaws-config
directly.opentelemetry_sdkis now re-exported at the crate root rather than only
inside thelambdamodule, matching its use in non-Lambda public APIs.- Documentation examples updated to use the convenience aliases
LambdaError/LambdaEventand the re-exportedlambda_runtimepath.
Notes
- Users still need to declare these as direct dependencies: the
aws-sdk-*
service crates they use,tokio(the#[tokio::main]proc-macro emitted
bymake_lambda_runtime!resolvestokioby absolute path), and
serde_jsonfor typical Lambda event types.