chesedo
Home Blog

Posts tagged with "DesPatMa"

Mastering Dependency Injection in Rust: Despatma with Lifetimes

Published on September 25, 2024

Learn how to use despatma to manage singleton, scoped, and transient dependencies in Rust. Explore practical examples and best practices for effective dependency lifetime management in your Rust applications.

Read full article

Mastering Dependency Injection in Rust: Despatma basics

Published on August 16, 2024

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.

Read full article

About the Author

Pieter Engelbrecht

Pieter Engelbrecht

Rust Consultant & Software Craftsman

A Rust Programming Language Consultant with over 3 years of exclusive Rust experience. I specialize in architecting Rust projects and helping teams adopt Rust effectively.

Topics

Advanced Rust async Async Runtime Dependency Injection DesPatMa io_uring Performance Rust Software Architecture Software Design tracing

© 2025 Pieter Engelbrecht. All rights reserved.