4 ms·
Can tokio-console be used on Rust async programs that don't use the tokio runtime (assuming such arises on desktop)?
by AceJohnny2 5y ago
Can tokio-console be used on Rust async programs that don't use the tokio runtime (assuming such arises on desktop)?
- carllerche 5y agoYeah, it is decoupled from Tokio. Tokio emits instrumentation via the `tracing` crate. Tokio Console just listens to the tracing events. Any runtime that emits the same events can be used with Tokio Console. This is the tracking issue: https://github.com/tokio-rs/console/issues/130 https://github.com/tokio-rs/console/issues/130