#sdk #low-level #service #requests #delete #query #supa-base

rust_supabase_sdk

An SDK kit for SupaBase so that Rust lovers can use SupaBase with the low level abstracted away. If you want new features tell me and I'll add them.

8 releases

0.1.7 Mar 19, 2024
0.1.6 Mar 14, 2024
0.1.5 Dec 6, 2023
0.1.2 Nov 30, 2023

#35 in #delete

Download history 1/week @ 2024-02-22 5/week @ 2024-02-29 61/week @ 2024-03-07 295/week @ 2024-03-14 38/week @ 2024-03-21 14/week @ 2024-03-28 4/week @ 2024-04-04

153 downloads per month

MIT license

14KB
276 lines

Rust SupaBase SDK

Overview

Use SupaBase in Rust with no stress & without worrying about low level implementation.

Usage

To get started simply initialise a SupaBaseClient through SupaBaseClient::new(supabase_url, secret_key). Then start making requests and you're good to go! (Keep in mind secret key and service role are synonymous).

Most requests follow the same structure and require the (table name, id | search param, Option)

Functionality currently supported:

  • Get by ID
  • Create (must use UUID)
  • Update
  • Upsert
  • Delete
  • Get all
  • Search / Get with a query

If you want new features or improvements let me know through the Github: https://github.com/Lenard-0/Rust-Supabase-SDK

Dependencies

~8–22MB
~321K SLoC