Skip to main content

load_layered

Function load_layered 

Source
pub fn load_layered(name: &str, opts: &LayerOpts) -> Result<Value>
Expand description

Load both layers for name, deep-merge them (user wins), and return the effective toml::Value. Missing files at default paths are silent (returns empty table); missing files at env-var override paths are a hard error.