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

Commit 0c9a44d

Browse files
committed
Added an optional feature to enable the url-query feature of the re-exported query_map crate
1 parent 9aeb152 commit 0c9a44d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

aws_lambda_events/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ rabbitmq = []
7575
ses = []
7676
streams = []
7777
generated = ["activemq", "appsync", "autoscaling", "chime_bot", "clientvpn", "code_commit", "codebuild", "codedeploy", "codepipeline_cloudwatch", "codepipeline_job", "config", "connect", "ecr_scan", "firehose", "iot", "iot_1_click", "iot_button", "kafka", "lambda_function_urls", "lex", "rabbitmq", "ses", "streams"]
78+
79+
url-query = ["query_map/url-query"]

aws_lambda_events/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ This crate divides all Lambda Events into features named after the service that
4343
aws_lambda_events = { version = "^0.5", default-features = false, features = ["apigw", "alb"] }
4444
```
4545

46+
Additionally, if you want the re-exported `query_map` crate to have the `url-query` feature enabled, you can enable it like this:
47+
48+
```toml
49+
[dependencies]
50+
aws_lambda_events = { version = "^0.7", features = ["url-query"] }
51+
```
52+
4653
## Contributing
4754

4855
All files in the `generated` directory should not be manually edited and are generated by [`aws_lambda_events_codegen`](https://github.com/LegNeato/aws-lambda-events/tree/master/aws_lambda_events_codegen). Any changes for files in `generated` must happen in [`aws_lambda_events_codegen`](https://github.com/LegNeato/aws-lambda-events/tree/master/aws_lambda_events_codegen).

0 commit comments

Comments
 (0)