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

support Tuples (unnamed members) #65

Merged
merged 1 commit into from
Oct 10, 2022
Merged

support Tuples (unnamed members) #65

merged 1 commit into from
Oct 10, 2022

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Oct 7, 2022

as well as 128 bit integral types in the rust streamable macro.

Plain tuples were already supported (up to a few fields). This adds support for arbitrary types with unnamed members. i.e. when you define a type like this:

struct G1Element([u8;48]);

This is a step towards being able to have more chia types in rust. The wallet-protocol types are next on my list.

@arvidn arvidn changed the title support Tuples (unnamed members) as well as 128 bit integral types in… support Tuples (unnamed members) Oct 7, 2022
@arvidn arvidn force-pushed the streamable-macro-unnamed branch 3 times, most recently from 909b33d to 7f3f3b5 Compare October 7, 2022 15:24
@arvidn arvidn marked this pull request as ready for review October 8, 2022 06:56
Copy link
Contributor

@richardkiss richardkiss 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

@arvidn arvidn merged commit 5a7c594 into main Oct 10, 2022
@arvidn arvidn deleted the streamable-macro-unnamed branch October 10, 2022 08:04
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.

2 participants