rp-supabase-auth 0.3.0

A Rust client library for interacting with Supabase’s Authentication API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use reqwest::header::InvalidHeaderValue;

#[derive(thiserror::Error, Debug)]
pub enum AuthError {
    #[error("Reqwest error {0}")]
    Reqwest(#[from] reqwest::Error),
    #[error("Url parse error {0}")]
    UrlParse(#[from] url::ParseError),
    #[error("JSON error {0}")]
    Json(#[from] simd_json::Error),
    #[error("Invalid header value {0}")]
    InvalidHeaderValue(#[from] InvalidHeaderValue),
}