Since Deno now supports Temporal, it seems appropriate to add support for Temporal.Instant in @std/cbor. However, since it is still at Stage 4 and there are runtimes where it has not been implemented yet, the code needs to take that into account.
Additionally, since tags were expanded in RFC 8943 (Tags for Date) and RFC 9581 (Tags for Time, Duration, and Period), it might be good to add support for Temporal.PlainDate, Temporal.ZonedDateTime, Temporal.PlainDateTime, and Temporal.Duration.
For reference, here is a comment regarding native CBOR support on ES Discourse:
https://es.discourse.group/t/native-cbor-support/1492/11
Since Deno now supports Temporal, it seems appropriate to add support for
Temporal.Instantin @std/cbor. However, since it is still at Stage 4 and there are runtimes where it has not been implemented yet, the code needs to take that into account.Additionally, since tags were expanded in RFC 8943 (Tags for Date) and RFC 9581 (Tags for Time, Duration, and Period), it might be good to add support for
Temporal.PlainDate,Temporal.ZonedDateTime,Temporal.PlainDateTime, andTemporal.Duration.For reference, here is a comment regarding native CBOR support on ES Discourse:
https://es.discourse.group/t/native-cbor-support/1492/11