Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    registry: Registry,
    layers: Layers<'_>,
) -> Result<Resolved, LayerError>
Expand description

Resolve every setting in registry from layers.

Declared defaults are the bottom layer always, and are not a Layer: they cost one const conversion per setting that needs one and cannot fail, so making them an implementation would be ceremony that could also be forgotten.

This compatibility entry point has no CLI version context. Use resolve_with_context to enforce deprecated_warn_at and deprecated_remove_at against the running CLI version.