AkurAI Build
Menu

Public repository / 65d9e4103c7a6a1601ba4b287022e495bfac7f18

AkurAI-IDP / src/lib/mod.rs

Latest change fce146c19e4ee44321ed964db4111dca7d75cc8b - recover: MCP OAuth public clients, RFC 8414 metadata, /api/health (0.8.4) by Ólafur Búi Ólafsson

pub mod audit;
pub mod clients;
pub mod crypto;
pub mod html;
pub mod jwt;
pub mod organizations;
pub mod password;
pub mod pkce;
pub mod telemetry;
pub mod totp;

/// Parse a DB column that may be a JSON array `["a","b"]` or space-separated `"a b"`.
pub fn parse_json_or_space_separated(s: &str) -> Vec<String> {
    serde_json::from_str::<Vec<String>>(s)
        .unwrap_or_else(|_| s.split_whitespace().map(String::from).collect())
}