oxide_auth_db/
lib.rs

1pub mod db_service;
2pub mod primitives;
3
4#[cfg(test)]
5fn requires_redis_and_should_skip() -> bool {
6    match std::env::var("OXIDE_AUTH_SKIP_REDIS") {
7        Err(_) => false,
8        Ok(st) => match st.as_str() {
9            "1" | "yes" => true,
10            _ => false,
11        },
12    }
13}