diff_with

Function diff_with 

Source
pub fn diff_with<T: Serialize>(
    old: &T,
    new: &T,
    config: &DiffConfig,
) -> Result<Diff, Error>
Expand description

Compute diff with custom configuration.

ยงExamples

use diffo::{diff_with, DiffConfig};

let config = DiffConfig::new().mask("*.password");

let d = diff_with(&old, &new, &config).unwrap();