redacta 0.0.1

Command line tool for redacting information from text.
Documentation
1
2
3
4
5
6
7
8
9
#[cfg(test)]
#[macro_export]
macro_rules! assert_redacts {
    ($redactor:expr, $input:expr, $expected:expr) => {{
        let mut buf = $input.to_vec();
        $redactor.redact(&mut buf);
        assert_eq!($expected.as_ref(), buf.as_slice());
    }};
}