vonage 0.1.1

Unified Rust SDK for Vonage APIs
Documentation
//! # Rust SDK for Vonage APIs
//!
//! The unified Rust SDK for Vonage APIs, providing a single interface
//! to access various Vonage services including SMS and more.
//!
//! ## Quick Start
//!
//! ### SMS API
//! ```rust
//! use vonage::{Vonage, BasicAuth, SignatureAuth};
//! use vonage::sms::SmsRequest;
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a client with your API credentials using Basic Auth
//! let vonage = Vonage::new(BasicAuth::new("api_key", "api_secret"))?;
//!
//! // Or create a client with Signature Auth (for SMS API)
//! let vonage_sig = Vonage::new(SignatureAuth::new("api_key", "signature_secret"))?;
//!
//! // Send an SMS message
//! let request = SmsRequest::text("Vonage", "15551234567", "Hello from Vonage!");
//! let response = vonage.sms().send(&request).await?;
//!
//! println!("Sent {} messages", response.message_count);
//! # Ok(())
//! # }
//! ```
//!
//! ## Features
//!
//! - **SMS**: Send and receive SMS messages
//! - **Authentication**: Support for API key/secret and signature authentication
//! - **Error Handling**: Comprehensive error types and handling
//! - **Async Support**: Built with async/await from the ground up
//! - **Regional Support**: Support for different API regions

pub mod client;
pub mod builder;

// Re-export core types
pub use vonage_core::{Result, VonageError, Region, HttpConfig};

// Re-export authentication
pub use vonage_core::{Auth, BasicAuth, SignatureAuth};

// Re-export SMS module
pub use vonage_sms as sms;

// Re-export main client
pub use client::Vonage;
pub use builder::VonageBuilder;