Action: Investigate tokio-postgres.
Analysis: Timestamp fields should be encoded as serde::Value::String("\"<value>\"") -- the inner extra quotes are essential for serde to reach an agreement with chrono when deserializing. However, it seems tokio-postgres somehow gets rid of those extra quotes when converting a Row to its equivalent serde::Value.
Action: Investigate
tokio-postgres.Analysis: Timestamp fields should be encoded as
serde::Value::String("\"<value>\"")-- the inner extra quotes are essential forserdeto reach an agreement withchronowhen deserializing. However, it seemstokio-postgressomehow gets rid of those extra quotes when converting aRowto its equivalentserde::Value.