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

Ns/versionize transparent #1644

Merged
merged 4 commits into from
Oct 9, 2024
Merged

Ns/versionize transparent #1644

merged 4 commits into from
Oct 9, 2024

Conversation

nsarlin-zama
Copy link
Contributor

closes: https://github.com/zama-ai/tfhe-rs-internal/issues/747#issue-2550479942

PR content/description

Add support for #[repr(transparent)] in the Versionize proc macro. This will skip the versioning of this type by versioning the inner type instead, similar to serde.

In this pr I also removed some manual implementations of Versionize that were no longer needed.

Check-list:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Relevant issues are marked as resolved/closed, related issues are linked in the description
  • Check for breaking changes (including serialization changes) and add them to commit message following the conventional commit specification

@cla-bot cla-bot bot added the cla-signed label Oct 7, 2024
@nsarlin-zama nsarlin-zama force-pushed the ns/versionize_transparent branch from 96e9c9e to 614e6b3 Compare October 7, 2024 15:02
@nsarlin-zama nsarlin-zama force-pushed the ns/versionize_convert_with_bounds branch from 8cfa7b7 to a17dae3 Compare October 7, 2024 15:08
@nsarlin-zama nsarlin-zama force-pushed the ns/versionize_transparent branch 3 times, most recently from 4a97a29 to 0604b27 Compare October 7, 2024 15:33
@nsarlin-zama nsarlin-zama force-pushed the ns/versionize_transparent branch from 0604b27 to 9312662 Compare October 8, 2024 12:03
@nsarlin-zama nsarlin-zama requested a review from tmontaigu October 8, 2024 12:04
Base automatically changed from ns/versionize_convert_with_bounds to main October 9, 2024 07:40
Copy link
Member

@IceTDrinker IceTDrinker left a comment

Choose a reason for hiding this comment

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

Looks good, no need to re-approve for full tests, once this is green good to merge

@nsarlin-zama nsarlin-zama merged commit 25fb1e5 into main Oct 9, 2024
33 checks passed
@nsarlin-zama nsarlin-zama deleted the ns/versionize_transparent branch October 9, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants