Skip to main content

Nested structs

Sub-structs flatten with a prefix:
Direct field names win over prefix matches.

Custom value types

Structs with parse and toStr parse as single string values:
Parse errors keep the field default.

Dynamic collections

Dynamic(T, prefix) is for indexed bind maps and similar tables:
Accepted forms:
Call config.binds.deinit(gpa) to free the arena-backed slice.

Import

Split config across files:
Relative imports resolve from the parent file’s directory. Circular imports return error.CircularImport. Nesting is capped at 128 files.