Skip to main content

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(crate) mod key_names; // one-way key names for credentials
5pub mod memory;
6#[cfg(feature = "postgres-storage")]
7pub mod postgres;
8#[cfg(feature = "redis")]
9pub mod redis;
10
11// Performance optimized unified storage
12#[cfg(feature = "performance-optimization")]
13pub mod unified;
14
15// Re-export the main storage traits and types
16pub use core::*;
17pub use encryption::{EncryptedStorage, StorageEncryption};
18
19// Re-export unified storage when feature is enabled
20#[cfg(feature = "performance-optimization")]
21pub use unified::{StorageStats, UnifiedStorage, UnifiedStorageConfig};
22
23// Convenience re-export for common trait
24pub use crate::storage::core::AuthStorage;