// ## 1️⃣ `mod.rs` — public façade + re-exports

//! stream_v2 — fully parallel, segment-based streaming encryption/decryption.
//!
//! This module exposes a **stable public API** for Rust, Python (via PyO3),
//! CLI tools, and services. Internals are strictly layered.


pub mod framing;
pub mod segmenting;
pub mod frame_worker;
pub mod segment_worker;
pub mod compression_worker;

pub mod pipeline;
pub mod core;
pub mod io;


pub use io::{
    InputSource,
    OutputSink,
};

pub use core::{
    MasterKey,
    EncryptParams,
    DecryptParams,
    ApiConfig,
};

pub use core::{
    encrypt_stream_v2,
    decrypt_stream_v2,
};


