docs.rs failed to build whatsmeow-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
whatsmeow-0.1.1
whatsmeow-rs 🦀💬
Idiomatic, thread-safe Rust bindings for WhatsApp via WhatsMeow Go bridge.
Features
- ✨ Fluent builder API - No
Arc, no channels in user code - 📡 Callback & Stream events - Choose your style
- 🔒 Thread-safe - Share clients across tasks
- 📊 Tracing integration - Structured logging
- 🧠 Multi-client support - Manage multiple accounts
- 🏗️ Automated build - One command
task buildfor Go & Rust
Quick Start
use WhatsApp;
async
Stream-based Events
use StreamExt;
use ;
let client = connect.build.await?;
let mut events = client.events;
while let Some = events.next.await
Requirements
- Rust 1.70+
- Go 1.24+ (CGO required)
- Task (go-task) for automation
Building
The project uses task for unified build management.
# 1. Build everything (Go DLL + .lib + Rust)
task build
# 2. Run the basic example
task run
Project Structure
whatsmeow-rs/
├── crates/
│ ├── whatsmeow-sys/ # Raw FFI bindings
│ └── whatsmeow/ # Safe Rust API (Main Crate)
├── go/
│ ├── bridge/ # Go WhatsMeow wrapper
│ └── scripts/ # MSVC build scripts
├── examples/ # Multi and Stream examples
└── Taskfile.yml # Build automation
License
MIT