Crate epoch

source ·
Expand description

Wrapper around (de)serializing an epoch.json file. Although the underlying implementation is fairly straightforward, we extract this into a library so that the library serves as the “source of truth” for all valid epoch.json formats. Currently, there is only one format documented in RFC-0071. If we add a new format (e.g. change the version field) in the future, this library will ensure that all clients are aligned on format changes.


Wrapper for serializing and deserializing the epoch.json file. For more context, see RFC-0071.