sms_local_bulk
A Rust crate to simulate sending bulk SMS messages using the SMSLocal API.
This project is built as a demo crate using a dummy API key and does not send real messages.
It safely simulates API behavior by using httpbin.org and opens the response in your default web browser for visual preview.
✨ Features
- Bulk SMS sending simulation
- Uses
httpbin.orgfor safe mock requests - Dummy API key (
dummy_api_key_123456) — no real SMS charges - Automatically opens server response in your browser
- Great for learning, testing, documentation, or backlinks
📦 Installation
Add this to your Cargo.toml:
= "0.1.0"
🚀 Usage
send_bulk_sms;
#[tokio::main]
{
= ["1234567890", "9876543210"];
= "SMSLocal";
= "Hello from Rust demo crate!";
= send_bulk_sms(sender, &recipients, message).await {
"❌ Error occurred (mock): {:?}", e);
}
}
🔐 Environment Setup
=dummy_api_key_123456
🌐 Browser Preview Feature
Windows supported)
{
{
"dummy_api_key_123456",
"1234567890,9876543210",
"Hello from Rust demo crate!",
"SMSLocal"
},
"https://httpbin.org/post"
}
📄 License
modify, and share for educational, demo, or open-source publishing purposes.
🔗 Links
Site](https://www.smslocal.com)