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

Add #[proc_macro_derive(Absorb)] on custom structs #133

Closed
mmagician opened this issue Jan 25, 2024 · 1 comment · Fixed by #135
Closed

Add #[proc_macro_derive(Absorb)] on custom structs #133

mmagician opened this issue Jan 25, 2024 · 1 comment · Fixed by #135

Comments

@mmagician
Copy link
Member

So that we can write:

#[dervice(Absorb)]
struct MyStruct {
    a: u8,
    b: u8,
}

What do you think? Happy to take it on

@Pratyush
Copy link
Member

That would be great!

Would also be great for traits in r1cs-std, like AllocVar, R1CSVar, EqGadget, CmpGadget, etc.

@mmagician mmagician mentioned this issue Jan 25, 2024
6 tasks
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 a pull request may close this issue.

2 participants