Expand description
Render and write drep.toml.
Every entry has its documented position, comments explain why a field
exists (or does not), and the file parses cleanly through
crate::config::load once the referenced environment variables are set.
Escaping happens here rather than at a higher level, so render is the
single place a caller’s value could fail to escape. See escape for what
TOML actually requires - it is more than the two characters this originally
handled.
Structs§
- Choice
- One provider the user chose, ready to render.
Functions§
- already_
exists - The refusal to overwrite an existing config.
- render_
chain - Render the whole
drep.toml, comments included, for a failover chain. - write
- Write
drep.tomlunderroot.