adaptive_pipeline/infrastructure/
services.rs

1// /////////////////////////////////////////////////////////////////////////////
2// Adaptive Pipeline
3// Copyright (c) 2025 Michael Gardner, A Bit of Help, Inc.
4// SPDX-License-Identifier: BSD-3-Clause
5// See LICENSE file in the project root.
6// /////////////////////////////////////////////////////////////////////////////
7
8//! # Infrastructure Services Module
9//!
10//! This module contains infrastructure-specific services that don't fit into
11//! adapters, repositories, or other infrastructure categories. These are
12//! cross-cutting infrastructure concerns.
13//!
14//! ## Services
15//!
16//! - **BinaryFormatService**: Binary .adapipe format reading and writing
17//! - **ProgressIndicator**: Real-time progress tracking and terminal output
18//! - **Base64EncodingService**: Production Base64 encoding/decoding stage
19//! - **PiiMaskingService**: Production PII masking stage (non-reversible)
20//! - **TeeService**: Production data inspection/debugging stage (pass-through)
21//! - **PassThroughService**: No-op stage that passes data unchanged
22//! - **DebugService**: Diagnostic stage with Prometheus metrics (SHA256, bytes)
23
24pub mod base64_encoding;
25pub mod binary_format;
26pub mod debug;
27pub mod passthrough;
28pub mod pii_masking;
29pub mod progress_indicator;
30pub mod tee;
31
32// Re-export service implementations
33pub use base64_encoding::Base64EncodingService;
34pub use binary_format::{AdapipeFormat, BinaryFormatService, BinaryFormatWriter};
35pub use debug::DebugService;
36pub use passthrough::PassThroughService;
37pub use pii_masking::PiiMaskingService;
38pub use tee::TeeService;