Closed caibirdme closed 5 months ago
{"timeout":"1m30s"}
struct Foo { // how to deserialize this? timeout std::time::Duration }
Maybe you can use https://docs.rs/humantime-serde/ for this. I do not plan to add such string/time parsing code to serde_with.
serde_with
{"timeout":"1m30s"}