unosend 1.0.0

Official Rust SDK for Unosend - Email API for developers
Documentation
//! # Unosend Rust SDK
//!
//! Official Rust SDK for [Unosend](https://unosend.co) - Email API for developers.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use unosend::{Unosend, SendEmailRequest};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let client = Unosend::new("un_your_api_key");
//!
//!     let response = client.emails().send(SendEmailRequest {
//!         from: "hello@yourdomain.com".into(),
//!         to: "user@example.com".into(),
//!         subject: "Welcome!".into(),
//!         html: Some("<h1>Hello!</h1>".into()),
//!         ..Default::default()
//!     }).await?;
//!
//!     println!("Email sent: {}", response.id);
//!     Ok(())
//! }
//! ```

mod client;
mod emails;
mod domains;
mod audiences;
mod contacts;
mod error;

pub use client::Unosend;
pub use emails::*;
pub use domains::*;
pub use audiences::*;
pub use contacts::*;
pub use error::UnosendError;