Daily Shaarli

All links of one day in a single page.

June 3, 2025

Designing Error Types in Rust Libraries

Due to how errors are handled in Rust, designing them is a real concern. Several approaches are presented here, using wrapper types is likely the better trade off.

How to deal with Rust dependencies

Not strictly about Rust, still is shows how to approach the conversation about your dependencies. It also gives good ideas on how to try to reduce them.

Tests should not contain logic
thumbnail

A good reminder that the complexity of tests should be as low as possible.