Rust · 953 bytes Raw Blame History
1 // Storage module - Phase 1.2 implementation
2 //
3 // Safety: Storage implements encryption at rest by default
4 // Privacy: All data stored is encrypted with user-controlled keys
5 // Transparency: Storage operations are logged for audit trail
6
7 pub mod chunk_store;
8 pub mod metadata_store;
9 pub mod file_chunker;
10 pub mod storage_manager;
11 pub mod encrypted_chunk_store;
12 pub mod enhanced_storage_manager;
13
14 // Re-export main storage interfaces
15 pub use chunk_store::{ChunkStore, ChunkMetadata, StorageStats};
16 pub use metadata_store::{MetadataStore, FileMetadata};
17 pub use file_chunker::{FileChunker, ChunkInfo};
18 pub use storage_manager::{StorageManager, StorageConfig, CapacityInfo};
19 pub use encrypted_chunk_store::{
20 EncryptedChunkStore, EncryptedChunkMetadata, EncryptedFileMetadata,
21 EncryptionMetadata, FileCapability, EncryptedStorageStats
22 };
23 pub use enhanced_storage_manager::{
24 EnhancedStorageManager, CombinedCapacityInfo, FileStorageResult
25 };