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

Serde support in human readable? #27

Closed
matthiasbeyer opened this issue Oct 17, 2022 · 0 comments · Fixed by #29
Closed

Serde support in human readable? #27

matthiasbeyer opened this issue Oct 17, 2022 · 0 comments · Fixed by #29

Comments

@matthiasbeyer
Copy link

Would be nice if the serde support could have human readable bytesize support.

So that I can specify:

foo = "1 MiB"

And get a

#[derive(Deserialize)]
struct T {
    foo: ByteSize,
}
joeroback added a commit to joeroback/bytesize that referenced this issue Dec 2, 2022
joeroback added a commit to joeroback/bytesize that referenced this issue Dec 2, 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 a pull request may close this issue.

1 participant