aurabase 0.1.1

Official Rust SDK for Aurabase: high-performance open-source Backend-as-a-Service (BaaS)
Documentation
pub mod auth_store;
pub mod client;
pub mod error;
pub mod services;
pub mod types;

// Réexportations principales à la racine pour correspondre au SDK JS
pub use auth_store::{decode_jwt_payload, is_token_expired, AuthStore, InMemoryAuthStore};
pub use client::{AuraClient, AuraClientOptions, RequestBody};
pub use error::AuraError;
pub use services::db::QueryBuilder;
pub use services::realtime::{AuraChannel, ConnectionState, RealtimeError};

/// Crée une nouvelle instance de client Aurabase (équivalent de `createClient`).
///
/// `base_url` EST le projet : `https://<slug>.aurabase.cloud`. Voir [`AuraClient::new`].
pub fn create_client(
    base_url: &str,
    api_key: &str,
    options: Option<AuraClientOptions>,
) -> AuraClient {
    AuraClient::new(base_url, api_key, options)
}