Open AregevDev opened 5 years ago
AFAIK neither the CBOR RFC 7049 nor an extension in CBOR supports 128 bit numbers. (big decimals are supported by the standard but not by this crate) If you need 128 bit integers I suggest to serialize them as a slice.
Oh, didn't know that, started working on PR, never mind
The program crashes when trying to serialize them
Is this a crash or does serde_cbor return an error?
cbor returns an error
related: #145
MsgPack stores u128/i128 as a byte array. I think it would be a simple fix for serde_cbor to do the same?
The program crashes when trying to serialize them, complaining i/u128 is not supported Serde itself already has support for that