Skip to content

Add optional binary serialization#20

Merged
nlordell merged 1 commit into
nlordell:mainfrom
anton-lisanin:serde_binary
Sep 15, 2022
Merged

Add optional binary serialization#20
nlordell merged 1 commit into
nlordell:mainfrom
anton-lisanin:serde_binary

Conversation

@anton-lisanin

Copy link
Copy Markdown
Contributor

Allows optional binary serialization for serde

#[derive(Serialize, Deserialize)]
struct Foo {
    #[serde(with = "ethnum::serde::binary")]
    value: U256,
}

@nlordell nlordell left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM.

@nlordell nlordell merged commit 717d0cd into nlordell:main Sep 15, 2022
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