go_true 0.1.1

GoTrue client written in rust
Documentation
//! # go_true
//!
//! [GoTrue][gotrue] client-side library.
//!
//! ## Usage
//! Add the following line to your `Cargo.toml`:
//!
//! ```toml
//! go_true = "0.1.0"
//! ```
//!
//! ## Examples
//!
//! To create an account, create a new client and execute the `sign_up` function with email and password:
//!
//! ```rust
//! use go_true::{Client, EmailOrPhone};
//!
//! #[tokio::main]
//! async fn main() {
//!     let url = "http://localhost:9998".to_string();
//!     let mut client = Client::new(url);
//!
//!     let email = "email@example.com".to_string();
//!     let password = "Abcd1234!".to_string();
//!
//!     let session = client.sign_up(EmailOrPhone::Email(email), &password).await;
//!
//!     println!("{:?}", session);
//! }
//! ```
//!
//! Check out the [README][readme] for more info.
//!
//! [gotrue]: https://github.com/supabase/gotrue
//! [readme]: https://github.com/fubinator/gotrue-rs

mod api;
mod client;
pub mod error;
mod session;
mod user;
mod user_attributes;
mod user_list;
mod user_update;

pub use api::Api;
pub use api::EmailOrPhone;
pub use client::Client;
pub use user_attributes::UserAttributes;