You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
Duration formats were supported in Hocon formats, but not all the way through deserialization... They now are (in 0.5.1), with an api inspired by humantime-serde
Hi, I'm using hocon 0.4.0 and serde 1.0.124. The config file says
blah = 1 second
, the config struct saysblah: std::time::Duration
, and hocon saysWhen I change the struct's field type from
std::time::Duration
toString
, then the struct field successfully gets the textual value1 second
.Am I doing something wrong please? I looked into Hocon's source code and it looks like
std::time::Duration
is supported.PS. Hocon is the best config format ever, loved it since Scala times, thanks for your work.
The text was updated successfully, but these errors were encountered: