rustauth-fred 0.2.0

Fred-backed Redis and Valkey integrations for RustAuth.
Documentation
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct FredRateLimitOptions {
    pub key_prefix: String,
}

impl Default for FredRateLimitOptions {
    fn default() -> Self {
        Self {
            key_prefix: "rustauth:".to_owned(),
        }
    }
}

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct FredSecondaryStorageOptions {
    pub key_prefix: String,
    pub scan_count: u32,
}

impl Default for FredSecondaryStorageOptions {
    fn default() -> Self {
        Self {
            key_prefix: "rustauth:".to_owned(),
            scan_count: 100,
        }
    }
}