Expand description
Environment variable helpers shared by sync services.
Functions§
- bool_or
- Read a boolean variable (“true” or “1”), falling back to a default when unset.
- parse_
or - Parse a variable into any FromStr type, falling back on unset or unparseable values.
- require
- Read a required variable, with a readable error naming the missing key.
- string_
or - Read a string variable, falling back to a default when unset.