wire-framework
- A lightweight DI framework for Rust
This library is based on the node_framework library from zksync-era
.
Usage
The library provides following DI abstractions:
- Resources are provided or requested by node components. An example of a resource is a Postgres connection pool factory.
- Components may also provide tasks managed by the framework.
- Requesting and providing resources / tasks is encapsulated in wiring layers.