#sdk #low-level #secret #search-query #service #uuid #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.

9 releases

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

#867 in Development tools

MIT license

14KB
281 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–19MB
~261K SLoC