Our great sponsors
-
SccaSoloPointsCalculator
Discontinued Points and championship placements calculator for SCCA Solo (Autocross) events (by remlse)
-
actix_sqlx_mysql_user_crud
A user crud written in Rust, designed to connect to a MySQL database with full integration test coverage.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I wanted to challenge myself if I could do it, and I think I managed. Feel free to check out the diff here. Getting rid of dyn and all these smart pointers should even improve runtime performance and reduce heap allocations. There is quite a bit of boilerplate with regards to the generics, but that kinda comes with the territory in Rust if you absolutely want to do dependency injection, by default, always, everywhere.
Lastly, I wrote a CRUD a while ago that's on the Actix Web examples, which is a simple CRUD that has full test coverage. I didn't do any mocking, but you can take a look at the code and see if any of the TDD patterns I used are helpful.