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
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
The text was updated successfully, but these errors were encountered:
As part of smithy-lang/smithy-rs#3269, the regex crate has been replaced by the regex-lite crate. The primary motivation for the PR was to reduce client initialization time at runtime, but it should also help reduce the size of the complied binary, as noted in rust-lang/regex#961 (comment).
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
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: