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