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

Commit abc7b40

Browse files
authored
Add missing feature requirements. (#155)
Signed-off-by: David Calavera <david.calavera@gmail.com>
1 parent f36fd4a commit abc7b40

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws_lambda_events"
3-
version = "0.8.2"
3+
version = "0.8.3"
44
description = "AWS Lambda event definitions"
55
authors = [
66
"Christian Legnitto <christian@legnitto.com>",
@@ -99,10 +99,10 @@ dynamodb = ["streams", "serde_dynamo"]
9999
ecr_scan = []
100100
firehose = []
101101
iam = []
102-
iot = []
102+
iot = ["iam"]
103103
iot_1_click = []
104104
iot_button = []
105-
iot_deprecated = []
105+
iot_deprecated = ["iot"]
106106
kafka = []
107107
kinesis = []
108108
kinesis_analytics = ["kinesis"]

src/custom_serde/mod.rs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,21 @@ pub(crate) mod codebuild_time;
1111
#[cfg(feature = "codebuild")]
1212
pub type CodeBuildNumber = f32;
1313

14-
#[cfg(any(feature = "alb", feature = "apigw"))]
14+
#[cfg(any(
15+
feature = "alb",
16+
feature = "apigw",
17+
feature = "s3",
18+
feature = "iot",
19+
feature = "lambda_function_urls"
20+
))]
1521
mod headers;
16-
#[cfg(any(feature = "alb", feature = "apigw"))]
22+
#[cfg(any(
23+
feature = "alb",
24+
feature = "apigw",
25+
feature = "s3",
26+
feature = "iot",
27+
feature = "lambda_function_urls"
28+
))]
1729
pub(crate) use self::headers::*;
1830

1931
#[cfg(feature = "dynamodb")]

0 commit comments

Comments
 (0)