Skip to main content

Crate conf_extra

Crate conf_extra 

Source
Expand description

Extra types and value parsers for use with conf

Structs§

Password
A wrapper around a password string which does not log the password in display or debug output.

Functions§

parse_duration
Parse a std::time::Duration from human-readable string using endings like d, h, m, s, ms, ns e.g. “500ms”, “4h15m”, etc. See docu for go-parse-duration crate for details on the format
parse_time_delta
Parse a chrono::TimeDelta from a string using endings like d, h, m, s, ms, ns e.g. “500ms”, “4h15m”, etc. See docu for go-parse-duration crate for details on the format