







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:
Why Use Structured Errors in Rust Applications?
Going against the common wisdom of “using anyhow for applications”.
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
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
xymostech/XymosTeX
A re-implementation of TeX in Rust to help me understand how it works and to eventually provide a debugging interface
Ditto - Introducing Safer FFI
Introducing safer_ffi, a Rust framework that allows you to write foreign function interfaces (FFI) without polluting your Rust code with `unsafe` while improving readability.

One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

Writing an OS in Rust
This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code.
The Rust Programming Language - The Rust Programming Language
by Steve Klabnik, Carol Nichols, and Chris Krycho, with contributions from the Rust Community
Rust for Java developers
Introduction to the Rust programming language for java developers, (complete with code sampes) with a focus on shared concepts.

Learning Rust
Learning Rust - Rust Programming Language Tutorials for Everyone!

swapneel/hnsw-rust
HNSW implementation in Rust. Reference: https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf
iced - A cross-platform GUI library for Rust
A cross-platform GUI library for Rust focused on simplicity and type-safety.