| Crates.io | simple_login_rs |
| lib.rs | simple_login_rs |
| version | 0.1.2 |
| created_at | 2022-11-10 13:21:09.393426+00 |
| updated_at | 2022-11-11 17:43:41.695594+00 |
| description | Wrapper for simplelogin.io |
| homepage | |
| repository | https://gitea.heartnerds.org/Mageas/simple_login_rs |
| max_upload_size | |
| id | 711770 |
| size | 82,425 |
This crate is a wrapper for the simplelogin.io api.
let mut client = SimpleLoginClient::new("app.simplelogin.io");
client.token = Some("TOKEN");
// ** User Infos **
let response = client.account().get_user_info().await;
// ** Get Alias Options **
let response = client.alias().options().await;
// ** Create Mailbox **
let response = client.mailbox().create("mailbox_to_add").await;
// ** List Custom Domains **
let response = client.custom_domain().list().await;
// ** Get Settings **
let response = client.setting().get().await;