Mastering Dependency Injection in Rust: Using a macro part 1
Explore how to simplify dependency injection in Rust using a custom macro. Learn about concrete types, trait-based dependencies, dynamic traits, chaining, and async dependencies with the despatma crate.
Rust error handling with anyhow - AntoineRR's blog
Rust has an unusual way of handling errors, and it can be a bit tricky to deal with at first. Some crates exists to help you facing the rough edges of Rust e...
Error handling in Rust can be confusing - should you use a library? Which one? For what purpose? This chapter provides a structured framework to reason about errors as well as a guide on how to leverage the existing ecosystem (`thiserror`, `anyhow`).
Community driven, articles, resources, guides, interview questions, quizzes for Rust development. Learn to become a modern Rust developer by following the steps, skills, resources and guides listed in this roadmap.
Error Handling In Rust - A Deep Dive | Luca Palmieri
Error handling in Rust can be confusing - should you use a library? Which one? For what purpose? This chapter provides a structured framework to reason about errors as well as a guide on how to leverage the existing ecosystem (`thiserror`, `anyhow`).
The async/await feature in Rust is implemented using a mechanism known as cooperative scheduling, and this has some important consequences for people who write asynchronous Rust code.