homepage/content/posts/rust-di-mocking.md
GHOSCHT 59d5e70de7
All checks were successful
Homepage deployment / deploy (push) Successful in 24s
Add tags
2024-12-29 17:05:17 +01:00

21 lines
571 B
Markdown

+++
date = '2024-12-29T13:42:30+01:00'
draft = true
title = 'Mocking in Rust with Dependency Injection'
summary = "Learn more about me and why I am starting this blog."
tags = ["rust", "testing"]
+++
{{< lead >}}
Rust is hard.
{{< /lead >}}
That's one of my takeways from one of my recent endeavors during the winter break.
{{< forgejo repo="ghoscht/picoKontroller" >}}
## TL;DR
Rust isn't necessarily suited for pure object oriented programming.
## Getting Started
Use [Shaku](https://github.com/AzureMarker/shaku) and [Mockall](https://github.com/asomers/mockall)