Skip to main content

brows3r_lib/diagnostics/
mod.rs

1//! Diagnostics subsystem.
2//!
3//! Split into two tasks:
4//! - task 59: `redact` — credential and path redaction.
5//! - task 60: `bundle` — bundle collection and export (this task).
6
7pub mod bundle;
8pub mod redact;
9
10use std::sync::Arc;
11
12use redact::Redactor;
13
14/// A cheaply-clonable `Arc<Redactor>` managed as Tauri state.
15///
16/// Built once at startup with `RedactionLevel::Full` and injected into
17/// every command that needs to redact text before including it in a bundle.
18pub type DiagnosticsRedactorHandle = Arc<Redactor>;