News for hackers. Stuff that matters.
Re:Tokio Console by AceJohnny2 on Friday December 17, 2021 @05:05PM (#29598933)
Can tokio-console be used on Rust async programs that don't use the tokio runtime (assuming such arises on desktop)?
Re:Tokio Console by carllerche on Friday December 17, 2021 @05:32PM (#29599166)
Yeah, 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