Skip to content

roberts-pumpurs/supabase-rs-utils

Supabase Rust utilities

Tests Checks Audit Deny Docs Unused Dependencies Conventional PR Release

A collection of Rust crates for interacting with Supabase APIs, including Authentication, Realtime, and PostgREST.

Overview

This repository is a Cargo workspace containing multiple Rust crates that provide clients and utilities for working with Supabase services in Rust. The crates included are:

Getting Started

To use any of these crates, add them as dependencies in your Cargo.toml file:

[dependencies]
rp-supabase-auth = "0.1.0"
rp-postgrest-error = "0.1.0"
rp-supabase-realtime = "0.1.0"
rp-supabase-client = "0.1.0"

Examples

Check out our examples directory for complete working examples of how to use each crate. The examples cover:

  • Authentication and user management
  • Real-time database updates
  • Broadcast messaging
  • Presence tracking
  • JWT token management
  • Database operations

Each example is self-contained and includes detailed documentation about its use case and how to run it.

Development guide

  1. Install Rust
  2. All tasks and actions are managed by cargo xtask. Try running cargo xtask --help to see all the available commands.
  3. cargo xtask fmt -- format the code
  4. cargo xtask test -- my_test_name -- run specific tests

Supabase instance for local development

  1. Install Supabase CLI
  2. Run supabase start to run local supabase instance

About

Supabase Auth, Realtime, RPC client written in Rust

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •