saber-hq / anchor-gen

Generates an Anchor CPI crate from a JSON IDL.
https://crates.io/crates/anchor-gen
Apache License 2.0
105 stars 58 forks source link

Update/anchor v0.27 #42

Open datben opened 1 year ago

datben commented 1 year ago

This is a work in progress proposal to update anchor-gen to anchor v0.27 which includes breaking changes due to zero_copy macro. Any help/comment is welcome. The current proposal has been made such as example are working, some part of the code are probably buggy and/or clumsy (i am junior dev), and they are maybe missing part concerning the correct usage of the updated macro zero_copy