fraction icon indicating copy to clipboard operation
fraction copied to clipboard

Serialization support for DynaInt

Open optevo opened this issue 2 years ago • 0 comments

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?

optevo avatar Sep 16 '22 09:09 optevo