| Crates.io | melipayamak-rs |
| lib.rs | melipayamak-rs |
| version | 0.1.1 |
| created_at | 2025-07-23 08:40:23.404469+00 |
| updated_at | 2025-08-05 09:22:49.489696+00 |
| description | Rust client for Sending Simple Melipayamak SMS API |
| homepage | |
| repository | https://github.com/hamidlotfi92/melipayamak-rs |
| max_upload_size | |
| id | 1764501 |
| size | 46,693 |
A Rust client library for the Melipayamak SMS API.
Add this to your Cargo.toml:
[dependencies]
melipayamak-rs = "0.1"
use melipayamak_rs::MelipayamakClient;
fn main() {
let client = MelipayamakClient::new("your_username", "your_password");
match client.send_sms("09123456789", "5000", "Hello from Rust!") {
Ok(response) => println!("SMS sent successfully: {:?}", response),
Err(e) => eprintln!("Failed to send SMS: {}", e),
}
}
Full documentation is available at docs.rs.
Dual-licensed under MIT .