Expand description
§SMSGate
A Rust client library for the SMSGate API.
§Quick Start
use android_sms_gateway::{Client, ClientConfig, types::Message};
let config = ClientConfig::new()
.with_token("your-jwt-token");
let client = Client::new(config)?;
let health = client.check_health().await?;
println!("Status: {:?}", health.status);§Feature Flags
| Feature | Description |
|---|---|
rustls-tls | Use rustls for TLS (default) |
native-tls | Use platform-native TLS |
encryption | Enable AES-256-CBC message encryption/decryption |
Re-exports§
pub use client::Client;pub use config::ClientConfig;pub use error::Error;