Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Reexport events (#66)
Browse files Browse the repository at this point in the history
* Reexport events in the location they were before.

So people find one less breaking change.

Signed-off-by: David Calavera <[email protected]>

* Bump version to a new minor version

Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera authored Feb 18, 2022
1 parent d840c26 commit 94c6353
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_lambda_events/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws_lambda_events"
version = "0.5.1-pre"
version = "0.6.0"
description = "AWS Lambda event definitions"
authors = [
"Christian Legnitto <[email protected]>",
Expand All @@ -25,7 +25,7 @@ serde_derive = "^1"
serde_json = "^1"
bytes = { version = "1", features = ["serde"] }
chrono = { version = "^0.4.4", features = ["serde"] }
query_map = { version = "^0.2", features = ["serde"] }
query_map = { version = "^0.3", features = ["serde"] }

[dev-dependencies]
pretty_assertions = "0.7"
Expand Down
15 changes: 15 additions & 0 deletions aws_lambda_events/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Additional layer of indirection in case we want to make upgrading easy
// or provide translations in the future.
pub use super::generated::*;

/// AWS Lambda event definitions for alb.
#[cfg(feature = "alb")]
pub use super::alb;
/// AWS Lambda event definitions for apigw.
#[cfg(feature = "apigw")]
pub use super::apigw;

/// CloudWatch Events payload
#[cfg(feature = "cloudwatch_events")]
pub use super::cloudwatch_events;

/// AWS Lambda event definitions for dynamodb.
#[cfg(feature = "dynamodb")]
pub use super::dynamodb;

0 comments on commit 94c6353

Please sign in to comment.