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

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 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.