Closed gz closed 1 month ago
hi, is there anything I can do to move this PR forward?
Closing as we're going to be stuck on 0.7
to avoid breaking changes (see #682), and we'll be pushing users to use the remote derive feature, where they can add the traits they need (see #683).
rkyv generates a separate type
ArchivedDecimal
, which represents the serialized value. In this PR we implement several traits to allow for ordering and equality on theArchivedDecimal
type (according to the rules of the Decimal type).We also implement comparison between
Decimal
andArchivedDecimal
(PartialOrd) which is helpful to efficiently compare e.g., a more complex in-memory type that uses decimal as part of its fields with the serialized counter-part.