1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
//! **Redact text**
//!
//! Protect confidentiality with dynamic redaction by replacing sensitive data
//! from string or JSON format
//!
//! ## Usecase
//! - Redact sensitive information from a text file
//! - Redact JSON schema by providing
//! - By key
//! - Prefix path
//! - Integrate with [env_logger](https://github.com/rusty-ferris-club/redact-engine/tree/main/redact-engine/examples/logger/env-logger)
//!
//! ## Usage
//! ```
#![doc = include_str!("../examples/redaction_values.rs")]
//!
//! ```
//! To see all code [example](https://github.com/rusty-ferris-club/redact-engine/tree/main/redact-engine/examples)
pub use crate::{data::Pattern, redaction::Redaction};
#[cfg(feature = "redact-json")]
mod json;
mod data;
mod pattern;
mod redaction;