







Going against the common wisdom of “using anyhow for applications”.
Rust Error Handling: thiserror, anyhow, and When to Use Each
In this blog post, we’ll explore strategies for streamlining error handling in Rust using two popular libraries: thiserror and anyhow. We’ll discuss their features, use cases, and provide insights on when to choose each library. TL;DR thiserror simplifies the implementation of custom error type, removing boilerplates anyhow consolidates errors that implement std::error::Error While thiserror provides detailed error information for specific reactions, anyhow hides internal details Return Different Error Types from Function Let’s start by creating a function decode() for illustration. The function has 3 steps:
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

Error Handling in Rust vs. Exceptions in Other Languages
Error Handling in Rust vs. Exceptions in Other Languages
One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

The simplest guide to error handling in Rust
Rust is loved for its reliability, and a good chunk of its reliability comes from its error handling ergonomics. I know that there already are a few guides about error handling in Rust, but I found these guides to be too long and not straight to the point. So here
Rust in 2021
This is my response for this year's call for blog posts. I am writing this as a language implementor, not as a language user. I also don't try to prioritize the problems. The two things I'll mention are the things that worry me most without reflecting on the overall state of the project. They are not necessary the most important things.
Production-Grade Logging in Rust Applications
A strong application is a well-logged application

Announcing Rust 1.12.1 | Rust Blog
Empowering everyone to build reliable and efficient software.

Announcing Rust 1.100.0 | Rust Blog
Empowering everyone to build reliable and efficient software.

Building a Swift Cross-Platform Application - Mark's Leaflets
In a recent talk reflecting on Rust in the LLM age, Bryan Cantrill described the essence of software systems as the creation of abstractions that get to the…
Announcing Rust 1.96.1 | Rust Blog
Empowering everyone to build reliable and efficient software.


Be alert: targeted attacks on prominent Rustaceans | Rust Blog
Empowering everyone to build reliable and efficient software.

iced - A cross-platform GUI library for Rust
A cross-platform GUI library for Rust focused on simplicity and type-safety.