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

2 points

I am reinventing everything in crates that requires zero dependencies, no unsafe code and the strict minimum of macro usage.

Like I did a simple date/time library last week, I started an error management crate this week, which pushed me to start a logging crate.

I am using the “log facade” crate for the logging, for compatibility you know, but that’s it.

The goal is to minimize the dependencies and create straightforward crates.

Most of the time, we really just need a car instead of the 18 wheeler.

permalink
report
reply
1 point
permalink
report
reply
0 points

Felt like making an assertions library since I can’t seem to find something quite what I’m looking for.

permalink
report
reply
0 points

What is missing in the existing ones?

permalink
report
parent
reply
1 point
*

I was mostly looking for something more composable, similar to how jest works. Some ideas that I’ve been working on are assertions like:

expect!([1, 2, 3])
    .all()
    .to_be_less_than(5);

I also have some ideas around futures that I’d like to play with.

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

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)

Community stats

  • 483

    Monthly active users

  • 285

    Posts

  • 1.3K

    Comments