Skip to main content

Crate auto_di

Crate auto_di 

Source

Structs§

Container
Lazy
Provider
RequestContext
ResolutionContext

Enums§

DiError
Scope

Traits§

ConfigurationProperties

Functions§

global_container
resolve

Type Aliases§

BoxFuture
DynArc

Attribute Macros§

application
Boots the global context, creates eager beans, and runs shutdown hooks.
bean
Marker attribute consumed by #[configuration].
component
configuration
Registers all #[bean] methods in an inherent impl as singleton providers. The configuration object is itself a singleton created through Default.
configuration_properties
Generates environment binding and registers the resulting struct as a bean.
qualifier
Marker consumed from constructor parameters by the surrounding provider macro.
repository
service
singleton
Registers a lazily-created singleton provider.