Expand description
Macros for the Syrette crate.
Macros§
- declare_
default_ factory factory
- Shortcut for declaring a default factory.
- declare_
interface - Declares the interface trait of a implementation.
Attribute Macros§
- factory
factory
- Makes a type alias usable as a factory interface.
- injectable
- Makes a type injectable.
- named
- Used to declare the name of a dependency in the constructor of a impl block decorated
with
injectable
.