๐ฆ Showcase: `whatsapp-business-rs` โ A full-featured WhatsApp Business SDK in Rust
โ Rust ๐ 2025-07-19 ๐ค surdeus ๐๏ธ 19Hey Rustaceans! ![]()
I've been building a lot around the WhatsApp Business Cloud API lately โ and got tired of the pain:
- Sparse docs
- Repetitive HTTP calls
- SDKs in other languages that feel... clunky
- No type safety, no async, no fun
So I did the Rust thing:
whatsapp-business-rs
An async-native, type-safe, extensible SDK for the WhatsApp Business Platform โ built for real apps, bots, CRMs, and e-commerce workflows.
Key Features
Rich message support (text, media, buttons, reactions, etc.)
Ergonomic, fluent client API (.send().await?,.builder(), etc.)
Webhook server built-in (signature verification + async handlers)
Catalog management with streaming support
Multi-tenant friendly โ override auth per request
Everything typed: no "field": string_or_struct_or_maybe_nothing
Itโs built on reqwest, tokio, and axum (internally), and tries to feel "right" in Rust.
Inspired by DX-first principles, builder patterns, and a whole lot of real-world use cases.
Crate
โ https://crates.io/crates/whatsapp-business-rs
Example: Send a Message
client.message("BUSINESS_ID")
.send("+2348012345678", "Hello from Rust!")
.await?;
Or start a webhook server in minutes:
server.serve(handler, client).await?;
Or manage catalogs:
client.catalog("CATALOG_ID")
.create_product(product_data)
.await?;
Itโs still early, but Iโm actively improving coverage (templates, contacts, docs) and would love feedback, issues, PRs โ or just a โhey, this helpedโ ![]()
Thanks for reading, and big ups to the Rust community for making DX like this even possible.
โ Victor
1 post - 1 participant
๐ท๏ธ rust_feed