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

App Storage proc-macro #180

merged 24 commits into from Oct 20, 2020

App Storage proc-macro #180

merged 24 commits into from Oct 20, 2020


Copy link

@YaronWittenstein YaronWittenstein commented Oct 7, 2020


This PR implements a proc-macro that takes an App's storage spec (given as a struct)
and auto-generates a friendly Rust Storage API to be consumed by the App's programmer.

This code is part of the svm-sdk but since it's a proc-macro it must be implemented in a separate crate.

More info regarding this restriction can be found here:
Why do proc-macros have to be defined in proc-macro crate?

@YaronWittenstein YaronWittenstein added the enhancement New feature or request label Oct 7, 2020
@YaronWittenstein YaronWittenstein self-assigned this Oct 7, 2020
@YaronWittenstein YaronWittenstein marked this pull request as ready for review October 18, 2020 07:30
@YaronWittenstein YaronWittenstein merged commit 28c2dc7 into master Oct 20, 2020
@YaronWittenstein YaronWittenstein deleted the storage-proc-macro branch October 20, 2020 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
enhancement New feature or request
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants