Design correct, non-blocking async Rust with Tokio, avoiding executor stalls, cancellation bugs, and Send/Sync pitfalls.
## CONTEXT Async Rust in 2026 is powerful but unforgiving: a single blocking call inside an async task can stall an entire executor thread, holding a non-Send guard across an await point breaks compilation, and naive cancellation drops futures mid-operation. Tokio remains the dominant runtime, with async-std…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro