supabase-client-sdk
A Rust client for Supabase with a fluent, Supabase JS-like API.
Uses the PostgREST REST API by default — no database connection needed. Opt into
direct PostgreSQL access via sqlx with the
direct-sql feature flag.
This is the main facade crate that re-exports all sub-crates behind feature flags.
Quick Start
use *;
async
Feature Flags
| Feature | Default | Description |
|---|---|---|
query |
Yes | Query builder (select, insert, update, delete, upsert, rpc) |
derive |
Yes | #[derive(Table)] proc macro |
auth |
No | GoTrue authentication client |
realtime |
No | WebSocket realtime subscriptions |
storage |
No | Object storage client |
functions |
No | Edge Functions client |
direct-sql |
No | Direct PostgreSQL via sqlx (bypasses PostgREST) |
full |
No | All features enabled |