pub fn declarations_from_yaml_map(
map: &BTreeMap<String, Value>,
) -> Vec<Declaration>Expand description
Read declarations from an already-parsed YAML mapping. Used by
crate::validate, which holds the parsed mapping and need not re-read the
file. Equivalent to declared_assets but keyed off a raw map.