sentd 1.0.0

Official Rust SDK for the SENTD Email API
Documentation
//! # SENTD Rust SDK
//!
//! Official Rust client for the SENTD Email API.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use sentd::{Sentd, SendEmailRequest};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), sentd::Error> {
//!     let client = Sentd::new("your_api_key");
//!
//!     let result = client.emails().send(SendEmailRequest {
//!         from: "hello@yourdomain.com".to_string(),
//!         to: vec!["user@example.com".to_string()],
//!         subject: "Welcome!".to_string(),
//!         html: Some("<h1>Hello World</h1>".to_string()),
//!         ..Default::default()
//!     }).await?;
//!
//!     println!("Email sent! ID: {}", result.data.id);
//!     Ok(())
//! }
//! ```

pub mod client;
pub mod error;
pub mod types;

pub mod emails;
pub mod batch;
pub mod templates;
pub mod domains;
pub mod webhooks;
pub mod analytics;

pub use client::Sentd;
pub use error::Error;
pub use types::*;