pub fn validate_feature_dependencies(
resolved: &BTreeMap<String, i16>,
) -> Result<(), String>Expand description
KIP-1022 dependency validation for a fully-resolved feature→level map, as
seeded by krabka format.
For every finalized feature, each of its dependencies(level) must be
present in resolved at >= the required level. Returns Err with the
name of the first unmet dependency, enforcing the rule at format time in the
same way as the UpdateFeatures handler.
§Errors
Returns an error naming the first finalized feature whose required dependency is absent or finalized below the minimum level.