shadow_crypt_shell/
lib.rs

1//! # Shadow Crypt Shell
2//!
3//! Shell layer for shadow_crypt, handling main workflows and I/O operations.
4//!
5//! This crate provides the interface layer between the command-line interface and filesystem operations,
6//! building on [`shadow_crypt_core`] to offer secure file encryption and decryption with filename obfuscation.
7//! It manages I/O to keep the core library focused on deterministic types and operations.
8//!
9//! Modules are vertically sliced to separate concerns like encryption, decryption and listing.
10
11/// Specific workflow and operations for encryption.
12pub mod encryption;
13
14/// Specific workflow and operations for decryption.
15pub mod decryption;
16
17/// Shared error types.
18pub mod errors;
19
20/// Specific workflow and operations for listing encrypted files.
21pub mod listing;
22
23/// Shared password handling utilities.
24pub mod password;
25
26/// Shared user interface utilities for displaying progress and results.
27pub mod ui;
28
29/// Shared utility functions for file operations and data parsing.
30pub mod utils;
31
32// Re-export commonly used items
33pub use shadow_crypt_core::memory;
34pub use shadow_crypt_core::profile::SecurityProfile;
35pub use ui::{display_error, display_success};