Crate dfdi

source ·


Cached provider
Cached service
A context in which to store providers for services


Error while binding a service
Error while unbinding a service


A can construct a Service which references objects either inside itself or the provided Context.
A key to an object that can be created by a Provider and stored in a Context.


Type hint to the rust compiler to treat appropriately typed closures as providers.

Derive Macros

Create an implementation of Service on a 'static version of the original type.