rustauth-fred 0.2.0

Fred-backed Redis and Valkey integrations for RustAuth.
Documentation
1
2
3
4
5
6
7
use std::fmt;

use rustauth_core::error::RustAuthError;

pub(crate) fn fred_error(operation: &str, error: impl fmt::Display) -> RustAuthError {
    RustAuthError::Adapter(format!("fred {operation} failed: {error}"))
}