In chrono we have custom (de)serialization modules that serialize a DateTime to/from a i64 timestamp. There is a request for deserializing timestamps encoded as strings as well. Is using deserialize_any as in that PR the right choice? Or would that be a breaking change for users of formats that are not self-describing?
Asking this for https://github.com/chronotope/chrono/pull/926.
In chrono we have custom (de)serialization modules that serialize a
DateTime
to/from ai64
timestamp. There is a request for deserializing timestamps encoded as strings as well. Is usingdeserialize_any
as in that PR the right choice? Or would that be a breaking change for users of formats that are not self-describing?If it is not the right choice, can I ask for a quick opinion on implementing a host of modules for string timestamps (https://github.com/chronotope/chrono/pull/1067)?