floris-xlx / supabase_rs

Supabase SDK for Rust
MIT License
7 stars 3 forks source link

supabase_rs

supabase_rs is an extremely light weight Supabase SDK for interacting with it's database.

I'm actively covering the entire Supabase API including Auth, Realtime, Storage etc

Feature flags

Nightly build

If you want to use GraphQL early you can enable the nightly flag, this is NOT production ready obviously.

Nightly WILL send a warning message, to disable the nightly warning message

disable it in your .env as such:

SUPABASE_RS_NO_NIGHTLY_MSG=true

Database Features

Advanced Filtering over select()

Storage

GraphQL

Auth

// coming soon //

Realtime

// coming soon //

Supabase SDK for Rust

This is an unofficial Rust SDK for Supabase, since there is no official SDK for Rust yet.

Features

Graphql features

Feature flags

Cargo.toml

[dependencies]
supabase_rs = "0.3.7"

// With the [storage] feature
supabase_rs = { version = "0.3.7", features = ["storage"] }

//!

Usage

First make sure you have initialized the Supabase Client Initalizing the SupabaseClient //!

Authentication

The Supabase Client is initialized with the Supabase URL and the Supabase Key. Which are environment variables that can be set in a .env file under the following names or any other

SUPABASE_URL=
SUPABASE_KEY=

Examples will be present in the docs

Contributors

Izyuumi - Improved row ID routing with updating methods koya1616 - fixed README