Skip to content

Commit 1ad11f3

Browse files
authored
Pin aws_lambda_events dependency to patch versions
If you already have a version of aws_lambda_events in your project, and you update lambda_http, the events package's version might not be updated. This can cause compilation issues like the ones we saw in #471. With this change, the events package will be update with new patch versions, which should prevent issues like that from happening.
1 parent efb7f69 commit 1ad11f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda-http/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ travis-ci = { repository = "awslabs/aws-lambda-rust-runtime" }
1717
maintenance = { status = "actively-developed" }
1818

1919
[dependencies]
20-
aws_lambda_events = { version = "^0.6", default-features = false, features = ["alb", "apigw"]}
20+
aws_lambda_events = { version = "^0.6.3", default-features = false, features = ["alb", "apigw"]}
2121
base64 = "0.13.0"
2222
bytes = "1"
2323
http = "0.2"
@@ -32,4 +32,4 @@ query_map = { version = "0.5", features = ["url-query"] }
3232
log = "^0.4"
3333
maplit = "1.0"
3434
tokio = { version = "1.0", features = ["macros"] }
35-
tower-http = { version = "0.2", features = ["cors"] }
35+
tower-http = { version = "0.2", features = ["cors"] }

0 commit comments

Comments
 (0)