Crate syrette_macros

source ·
Expand description

Macros for the Syrette crate.

Macros

Shortcut for declaring a default factory.
Declares the interface trait of a implementation.

Attribute Macros

factoryfactory
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.