emailit 2.0.3

The official Rust SDK for the Emailit Email API
Documentation
1
2
3
4
5
6
7
8
use emailit::Emailit;
use wiremock::MockServer;

pub async fn setup() -> (Emailit, MockServer) {
    let server = MockServer::start().await;
    let client = Emailit::with_base_url("test_api_key", server.uri());
    (client, server)
}