fraction
fraction copied to clipboard
Serialization support for DynaInt
Even though I have feature "with-serde-support" on, when I implement a struct or enum that contains DynaInt or any type that uses it and place #[derive(Serialize)] on my type I get:
error: the trait bound DynaInt<u64, BigUint>: Serialize
is not satisfied
label: the trait Serialize
is not implemented for DynaInt<u64, BigUint>
Serialization seems to work fine for GenericDecimal. I'm fairly new to Rust - is there something I'm doing wrong? Or is there some reason serialization is not supported for DynaInt?