Crates.io | supabase-js-rs |
lib.rs | supabase-js-rs |
version | 0.1.3 |
source | src |
created_at | 2022-12-18 16:34:15.179085 |
updated_at | 2024-04-25 09:23:23.699689 |
description | Rust bindings for Supabase JavaScript library via WebAssembly |
homepage | |
repository | https://github.com/wa1aric/supabase-js-rs/ |
max_upload_size | |
id | 740485 |
size | 25,749 |
Rust bindings for Supabase JavaScript library via WebAssembly.
Add supabase-js-rs
to Cargo.toml
supabase-js-rs = { version = "0.1.2" }
wasm-bindgen = "0.2.83"
or using a git dependency
supabase-js-rs = { git = "https://github.com/wa1aric/supabase-js-rs", rev = "ada414750f6e5baa2f4729304c53aed3b2d9515e" }
wasm-bindgen = "0.2.83"
Install @supabase/supabase-js
as package by adding CDN link to index.html in the root of your crate
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
Build and run
trunk serve