Skip to main content
otter-conf maps flat key = value files to defaulted otr structs. Import leaf modules such as otter_conf.loader, otter_conf.parser, and otter_conf.serializer. Every field that a configuration file may set must be pub. String fields use otter_conf.text.Text; structs owning strings need a consuming deinit.
Parsing starts from defaults. Unknown keys are skipped. Nested struct fields flatten into underscore-separated keys.

Reference pages

Source reference

otr/otr.toml, otr/ in the component repository.