Skip to content
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

frozen structs where possible #205

Merged
merged 11 commits into from
Feb 21, 2025
Merged

frozen structs where possible #205

merged 11 commits into from
Feb 21, 2025

Conversation

jessekrubin
Copy link
Owner

  • converted structs to be frozen where possible
  • Not sure how to frozen-ify the iterable functions but maybe will revisit....

ai word salad

This pull request includes several changes to the ryo3 library, focusing on updating the behavior of various structs and classes to be compatible with the frozen attribute. Additionally, some redundant code has been commented out to maintain compatibility with the frozen attribute.

Updates to frozen attribute:

Commented out incompatible methods:

Documentation update:

  • CHANGELOG.md: Updated the changelog to include the date for version v0.0.31 and added a note about the changes to internal structs/classes to be compatible with frozen. [1] [2]

Copy link

cloudflare-workers-and-pages bot commented Feb 21, 2025

Deploying ry with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46ab5d7
Status: ✅  Deploy successful!
Preview URL: https://247eac37.ry-5qq.pages.dev
Branch Preview URL: https://frozen.ry-5qq.pages.dev

View logs

@jessekrubin jessekrubin merged commit c3303cd into main Feb 21, 2025
22 checks passed
@jessekrubin jessekrubin deleted the frozen branch February 21, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant