seex 0.1.0-beta.6

Unified Rust SDK facade for Seex.
//! Public native connection configuration.

/// Catalog database used by the native store.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum CatalogBackend {
    #[default]
    Sqlite,
    /// Legacy test/storage adapter. Public configuration rejects this backend.
    DuckDb,
}

impl CatalogBackend {
    pub(crate) const fn as_name(self) -> &'static str {
        match self {
            Self::DuckDb => "duckdb",
            Self::Sqlite => "sqlite",
        }
    }
}