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

OdraType and OdraError derive macros #284

Merged
merged 5 commits into from
Dec 12, 2023
Merged

Conversation

kpob
Copy link
Contributor

@kpob kpob commented Dec 8, 2023

OdraType derive macro generates
ToBytes, FromBytes, CLTyped, Clone

OdraError macro generates
From<#error> for odra::OdraError

kpob added 2 commits December 8, 2023 11:43
* add derive macro supporting structs
* update examples
* update justfile
* support basic enums
* autogenerate Clone
@kpob kpob linked an issue Dec 8, 2023 that may be closed by this pull request
@kpob kpob linked an issue Dec 8, 2023 that may be closed by this pull request
@kpob kpob changed the title OdraType derive macro OdraType and OdraError derive macros Dec 8, 2023
core/src/variable.rs Outdated Show resolved Hide resolved
examples2/src/counter.rs Outdated Show resolved Hide resolved
modules/src/erc20.rs Show resolved Hide resolved
@kpob kpob merged commit 0c96bc7 into release/0.8.0 Dec 12, 2023
1 check passed
@kpob kpob deleted the feature/macro/odratype branch December 12, 2023 07:47
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.

OdraType macro. OdraError
3 participants