1 2 3 4 5 6 7 8 9 10 11
use anyhow::Result; use redact_engine::Redaction; fn main() -> Result<()> { let text = "foo,bar"; let redaction = Redaction::new().add_value("foo")?; println!("{:#?}", redaction.redact_str(text)); Ok(()) }