Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

  • Piatro@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    I’ve not built anything beyond simple scripts in rust but I’m looking at some of the cosmic codebase to see what I can do.

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

    Still working on an assertions library that I started a few weeks ago. I finally managed to get async assertions working:

    expect!(foo(), when_ready, all, not, to_equal(0)).await;
    

    It also captures values passed down the assertion chain and reports them on failure (without requiring all types to implement Debug since it uses autoref specialization).

    Hopefully it’ll be ready for a release soon.

  • SorteKanin@feddit.dk
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    I once again encountered something where const generics for something other than the current supported types would be awesome but alas… Guess I’ll live with the inconvenience for now.

  • secana@programming.devOP
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    I reworked the whole CI/CD pipeline for https://kellnr.io. Switched from Ubuntu as the base image to the official Rust (Debian) image. Additionally, musl targets are build and released on github. This should allow kellnr to run out-of-the-box on any Linux distro.

  • fnmain@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    After controlling a PTZ camera with an Xbox controller, we realized that wasn’t ideal, so now we’re switching to controlling said camera with a Logitech flight stick (to arrive from Amazon this week)