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

Added an optional feature to enable the url-query feature of the re-exported query_map crate #120

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

dcormier
Copy link
Contributor

@dcormier dcormier commented Oct 10, 2022

To make things easier in awslabs/aws-lambda-rust-runtime#541.

@@ -75,3 +75,5 @@ rabbitmq = []
ses = []
streams = []
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"]

url-query = ["query_map/url-query"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this syntax is new. We might not want to use it because people might depend on Rust versions that don't support it yet. I would just add the feature to the query_map dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated it.

Digging a bit, it looks like that syntax has been supported for quite a while. I found this reference to a fix related to the handling of that part of Cargo.toml in v1.43 (2020-04-23). So it's been supported since sometime prior to that.

There was some new syntax added to that part of Cargo.toml in v1.60, though (dep: and ?).

@calavera calavera merged commit 4a56e57 into calavera:master Oct 10, 2022
@dcormier dcormier deleted the dc/feature branch October 10, 2022 23:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants