ralph/redaction/mod.rs
1//! Purpose: Provide the public redaction API used to scrub secrets from
2//! strings, logs, and runner-facing diagnostics.
3//!
4//! Responsibilities:
5//! - Declare the `redaction` child modules.
6//! - Re-export the stable public redaction surface used across the crate.
7//!
8//! Scope:
9//! - Thin facade only; implementation lives in sibling files under
10//! `redaction/`.
11//!
12//! Usage:
13//! - Import `redact_text`, `RedactedString`, and `RedactedLogger` through
14//! `crate::redaction`.
15//!
16//! Invariants/Assumptions:
17//! - The public API remains stable across the split.
18//! - Redaction coverage and logger behavior remain unchanged.
19
20mod env;
21mod logging;
22mod patterns;
23
24#[cfg(test)]
25mod tests;
26
27pub use env::{is_path_like_env_key, looks_sensitive_env_key};
28pub use logging::{RedactedLogger, RedactedString};
29pub use patterns::redact_text;