home.social

#asyncrust — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #asyncrust, aggregated by home.social.

  1. Did you know that the meaning of all the columns in Tokio Console is documented?

    Someone asked about this today, and being able to point to the docs was great!

    docs.rs/tokio-console/latest/t

    #rust #rustlang #asyncRust #tokioConsole

  2. I wrote up a post on the size of Futures in #rustlang, why they can be big, why we care and how you can check the size.

    This leads into the new instrumentation in Tokio 1.41.0 and new lints in Tokio Console 0.1.13.

    And of course there's a link to the Clippy lint that can do much of this statically!

    hegdenu.net/posts/how-big-is-y

    #rust #asyncRust #tokio #tokioConsole

  3. There's some new instrumentation in tokio 1.41.0 (released 2 days ago), which includes the size of the future driving every task.

    In Tokio Console 0.1.13 (released half and hour ago), not only will you see this value, but there are 2 new lints which will warn you if your futures are perhaps a little too large.

    docs.rs/tokio-console/0.1.13/

    #rust #rustLang #tokioConsole #tokio #asyncRust

  4. Just got a new release of Tokio Console (and supporting crates) out, only a month and a half after the last release!

    How did we manage this? Release-plz makes releasing super easy, even when I have to patch the version of tokio-console to avoid a (pre-1.0) major version bump (because tonic upgrades mean we need a major version bump for console-api and console-subscriber).

    Check it out: release-plz.ieni.dev/

    Thank you @MarcoIeni !

    #rust #rustlang #tokioConsole #asyncRust

  5. We just released a new version of Tokio Console. Tokio Console is a debugger for async Rust (running with the Tokio runtime).

    This includes new versions of the following crates:
    * tokio-console v0.1.11 (github.com/tokio-rs/console/re)
    * console-subscriber v0.3.0 (github.com/tokio-rs/console/re)
    * console-api v0.7.0

    Upgrade tokio-console and make sure you use the latest console-subscriber to get the latest features!

    A thread of some of the changes.

    #tokioConsole #tokio #rust #rustlang #tui #asyncRust

  6. I recently heard about someone using #tokioConsole from a “custom runtime” (not using the `tokio_unstable` flag). I’m not sure if they meant custom #tokio or a non-tokio custom runtime.

    Honestly, either of those happening is pretty cool. I’d love to hear from anyone else doing anything similar too!

    #rust #rustLang #asyncRust