You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use compile_error if no http features are enabled (awslabs#698)
- Provide help so people know that they have to enable a feature.
- Put imports in place so conditional compilation doesn't try to compile unnecesary code.
Signed-off-by: David Calavera <[email protected]>
constERROR_CONTEXT:&str = "this function expects a JSON payload from Amazon API Gateway, Amazon Elastic Load Balancer, or AWS Lambda Function URLs, but the data doesn't match any of those services' events";
@@ -17,28 +13,29 @@ impl<'de> Deserialize<'de> for LambdaRequest {
0 commit comments