Crate syrette_macros
source ·Expand description
Macros for the Syrette crate.
Macros
declare_default_factory
factory
Shortcut for declaring a default factory.
Declares the interface trait of a implementation.
Attribute Macros
factory
factory
Makes a type alias usable as a factory interface.
Makes a struct injectable. Thereby usable with
DIContainer
or
AsyncDIContainer
.Declares the name of a dependency.