-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex Crate using Unicode #772
Comments
Hi @0cv, given the benefit, this is an interesting request. Thank you for submitting it. |
As part of smithy-lang/smithy-rs#3269, the |
|
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
A note for the community
Community Note
The text was updated successfully, but these errors were encountered: