diff_config

Function diff_config 

Source
pub fn diff_config(
    old_config: &Value,
    new_config: &Value,
) -> Vec<ConfigChangeEvent>
Expand description

Diffs two configuration values and returns a list of changes.

Only keys present in new_config are considered: a key that exists in old_config but is absent from new_config is silently treated as unchanged, and no ConfigChangeEvent is emitted for its removal.