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

Commit

Permalink
Add missing feature requirements. (#155)
Browse files Browse the repository at this point in the history
Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera authored Mar 30, 2023
1 parent f36fd4a commit abc7b40
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws_lambda_events"
version = "0.8.2"
version = "0.8.3"
description = "AWS Lambda event definitions"
authors = [
"Christian Legnitto <[email protected]>",
Expand Down Expand Up @@ -99,10 +99,10 @@ dynamodb = ["streams", "serde_dynamo"]
ecr_scan = []
firehose = []
iam = []
iot = []
iot = ["iam"]
iot_1_click = []
iot_button = []
iot_deprecated = []
iot_deprecated = ["iot"]
kafka = []
kinesis = []
kinesis_analytics = ["kinesis"]
Expand Down
16 changes: 14 additions & 2 deletions src/custom_serde/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,21 @@ pub(crate) mod codebuild_time;
#[cfg(feature = "codebuild")]
pub type CodeBuildNumber = f32;

#[cfg(any(feature = "alb", feature = "apigw"))]
#[cfg(any(
feature = "alb",
feature = "apigw",
feature = "s3",
feature = "iot",
feature = "lambda_function_urls"
))]
mod headers;
#[cfg(any(feature = "alb", feature = "apigw"))]
#[cfg(any(
feature = "alb",
feature = "apigw",
feature = "s3",
feature = "iot",
feature = "lambda_function_urls"
))]
pub(crate) use self::headers::*;

#[cfg(feature = "dynamodb")]
Expand Down

0 comments on commit abc7b40

Please sign in to comment.