3 releases

0.1.2 Nov 11, 2022
0.1.1 Nov 11, 2022
0.1.0 Nov 10, 2022

#343 in Email

31 downloads per month

GPL-3.0 license

48KB
1.5K SLoC

SimpleLogin Rs

This crate is a wrapper for the simplelogin.io api.


Details

  • Create the client
let mut client = SimpleLoginClient::new("app.simplelogin.io");

client.token = Some("TOKEN");
  • Make requests
// ** 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;

License

Licensed under GPL-3.0

Dependencies

~4–18MB
~252K SLoC