entrait
Loosely coupled Rust application design made easy (by audunhalland)
Syrette
The convenient dependency injection library for Rust. Mirror of https://git.hampusmat.com/syrette (by HampusMat)
entrait | Syrette | |
---|---|---|
3 | 1 | |
91 | 22 | |
- | - | |
5.7 | 6.8 | |
14 days ago | 4 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
entrait
Posts with mentions or reviews of entrait.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-27.
-
Entrait 0.4 — loosely coupled application design made easy
Entrait (docs) is a proc-macro for designing loosely coupled applications, enabling the same testing flexibility that users of more orthodox object-oriented languages are used to.
-
Fighting 'static bounds
You might want to look at https://docs.rs/entrait/latest/entrait/, a pattern created specifically for frameworks (like async-graphql) to be loosely linked with your business logic and global application state. There is already a small example for async-graphql. (I am the author of entrait)
-
Entrait v0.3.2
A new version of entrait has been released, this time with experimental support for zero-cost async Inversion of Control.
Syrette
Posts with mentions or reviews of Syrette.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing entrait and Syrette you can also consider the following projects:
tempfile - Temporary file library for rust
ioc - :unicorn: lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
brandi - The dependency injection container powered by TypeScript.
unimock - A versatile and developer-friendly trait mocking library
dilib-rs - A dependency injection library for Rust