Expand description
#include directive — glob-based config composition.
The include field in a .krypt.toml lists glob
patterns (relative to the file’s directory) that name additional config
files to merge in. This module performs that expansion, merges the
resulting configs, and returns a single flattened Config.
Entry points:
load_with_includes— read a root file and fully expand it.expand_includes— expand an already-parsedConfiggiven its directory. Useful when the caller has already parsed the root itself.
Enums§
- Include
Error - Errors that can arise during include expansion.
Functions§
- expand_
includes - Expand the
includelist in an already-parsedcfg, resolving patterns relative tobase_dir. - load_
with_ includes - Parse
pathfrom disk and fully expand itsincludedirectives.