19

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

you are viewing a single comment's thread
view the rest of the comments
[-] TehPers@beehaw.org 7 points 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.

this post was submitted on 04 Aug 2024
19 points (100.0% liked)

Rust

6029 readers
3 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS