auth_framework/storage/
mod.rs

1pub mod core;
2pub mod dashmap_memory; // DashMap-based storage proof-of-concept
3pub mod encryption; // AES-256-GCM encryption for storage at rest
4pub mod memory;
5#[cfg(feature = "mysql-storage")]
6pub mod mysql;
7#[cfg(feature = "postgres-storage")]
8pub mod postgres;
9#[cfg(feature = "redis")]
10pub mod redis;
11
12// Performance optimized unified storage
13#[cfg(feature = "performance-optimization")]
14pub mod unified;
15
16// Re-export the main storage traits and types
17pub use core::*;
18pub use encryption::{EncryptedStorage, StorageEncryption};
19
20// Re-export unified storage when feature is enabled
21#[cfg(feature = "performance-optimization")]
22pub use unified::{StorageStats, UnifiedStorage, UnifiedStorageConfig};
23
24// Convenience re-export for common trait
25pub use crate::storage::core::AuthStorage;
26
27