Expand description
Β§async-inspect π
X-ray vision for async Rust
async-inspect visualizes and inspects async state machines in Rust. See exactly what your futures are doing, where theyβre stuck, and why.
Β§Quick Start
β
use async_inspect::prelude::*;
#[async_inspect::trace]
async fn fetch_user(id: u64) -> User {
let profile = fetch_profile(id).await;
let posts = fetch_posts(id).await;
User { profile, posts }
}Β§Features
- π State Machine Inspection - See current state and variables
- β±οΈ Execution Timeline - Visualize async execution
- π Deadlock Detection - Find circular dependencies
- π Performance Analysis - Identify bottlenecks
Re-exportsΒ§
ModulesΒ§
- deadlock
- Deadlock detection Deadlock detection and analysis
- error
- Error types Error definitions
- inspector
- Core inspection types and traits Core inspection functionality
- instrument
- Instrumentation and tracing Code instrumentation utilities
- prelude
- Prelude for convenient imports Convenient re-exports
- profile
- Performance profiling Performance analysis tools
- runtime
- Runtime integration hooks Integration with async runtimes
- state_
machine - State machine introspection State machine analysis and visualization
- task
- Task tracking and monitoring Task lifecycle tracking
- timeline
- Timeline and execution history Execution timeline tracking