Skip to content

Regex Crate using Unicode #772

Closed
Closed
@0cv

Description

@0cv

Describe the feature

Many crates are using Regex such as aws-sdk-appconfig, aws-sdk-appconfigdata, aws-endpoint, aws-sdk-ses (and many more).

By default, Unicode tables are contained within the Regex crate, which increases notably the size of the compiled binary. It would be good if a flag could be passed to deactivate unicode tables when not needed, as mentioned in the Regex crate https://github.com/rust-lang/regex#crate-features

Use Case

Decrease binary size when unicode is not needed.

Proposed Solution

Add a feature flag at the aws-* crates level, that can change the features of the Regex crate.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions