/// Configuration for the Supabase client.
#[derive(Debug, Clone)]
pub struct ClientConfig {
/// Request timeout in seconds (default: 30)
pub timeout_secs: u64,
/// Maximum retry attempts for transient failures (default: 3)
pub max_retries: u32,
/// Base delay for exponential backoff in milliseconds (default: 100)
pub retry_base_delay_ms: u64,
}
impl Default for ClientConfig {
fn default() -> Self {
Self {
timeout_secs: 30,
max_retries: 3,
retry_base_delay_ms: 100,
}
}
}