| Crates.io | supabase-lib-rs |
| lib.rs | supabase-lib-rs |
| version | 0.5.3 |
| created_at | 2025-08-13 15:36:57.458933+00 |
| updated_at | 2025-10-16 18:42:46.397409+00 |
| description | A comprehensive, production-ready Rust client library for Supabase with full cross-platform support (native + WASM) |
| homepage | https://github.com/nizovtsevnv/supabase-lib-rs |
| repository | https://github.com/nizovtsevnv/supabase-lib-rs |
| max_upload_size | |
| id | 1793750 |
| size | 739,712 |
A comprehensive, production-ready Rust client library for Supabase. This library provides a clean, type-safe, and efficient interface to interact with all Supabase services.
Add this to your Cargo.toml:
[dependencies]
supabase-lib-rs = "0.5.3"
tokio = { version = "1.0", features = ["full"] }
Or use cargo to add it:
cargo add supabase-lib-rs
use supabase::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
// Initialize the client
let client = Client::new(
"https://your-project.supabase.co",
"your-anon-key"
)?;
// Authenticate user
let auth_response = client
.auth()
.sign_in_with_email_and_password("user@example.com", "password")
.await?;
println!("User signed in: {:?}", auth_response.user);
// Query database
let posts = client
.database()
.from("posts")
.select("id, title, content")
.eq("status", "published")
.order("created_at", Some(false))
.limit(10)
.execute()
.await?;
println!("Posts: {:?}", posts);
Ok(())
}
| Document | Description |
|---|---|
| Examples & Usage Guide | Comprehensive examples for all features |
| Configuration Guide | Setup and configuration options |
| Architecture Guide | Library design and architecture |
| WebAssembly Guide | WASM integration and deployment |
| Testing Guide | Testing setup and guidelines |
| Contributing Guide | Development and contribution guidelines |
| Changelog | Release history and changes |
| Roadmap | Future development plans |
| API Documentation | Complete API reference |
We welcome contributions! Please see our Contributing Guidelines for details.
# Clone the repository
git clone https://github.com/nizovtsevnv/supabase-lib-rs.git
cd supabase-lib-rs
# Setup development environment (requires Nix)
nix develop
# Run all checks
just check
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the Rust and Supabase communities