byte-unit-serde
This crate provides de/serialization helper for byte-unit
crate to use in
combination with serde's with-annotation. This might be useful because it
hides a byte-unit
crate as an implementation details and allows use the
simple u64
type instead. In other words, by using this crate, your code will
not depend on the byte-unit
crate.
Example
use ;
The idea of this crate is heavily inspired by humantime-serde
.