aboutsummaryrefslogtreecommitdiff
path: root/macros/src/lib.rs
AgeCommit message (Collapse)Author
2022-09-18refactor: add put factory return types in TransientPtr automaticallyHampusM
2022-09-18docs: fix ambiguous link to the factory macroHampusM
2022-09-17feat!: allow factories to access async DI containerHampusM
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
2022-09-17feat!: allow factories access to DI containerHampusM
BREAKING CHANGE: Factory types should now be written with the Fn trait instead of the IFactory trait and the to_factory & to_default_factory methods of BindingBuilder now expect a function returning a factory function
2022-09-02refactor!: remove braces from expected injectable macro inputHampusM
BREAKING CHANGE: The injectable macro no longer expects braces around it's flags
2022-09-02refactor: rename the factory macro flag 'async' to 'threadsafe'HampusM
2022-09-02refactor: remove unused import of ItemTraitHampusM
2022-08-31feat: add a threadsafe flag to the declare_default_factory macroHampusM
2022-08-31fix: add missing semicolon in the factory macroHampusM
2022-08-29feat: implement async functionalityHampusM
2022-08-28docs: improve & add examplesHampusM
2022-08-28style: add rustfmt config optionsHampusM
2022-08-27feat: implement named bindingsHampusM
2022-08-01docs: add factory feature noticesHampusM
2022-08-01refactor: limit the factory macro to the factory featureHampusM
2022-08-01feat: add hide impl of Injectable from documentationHampusM
This will make it so that by default the impl of Injectable is hidden from user code documentation. This commit also includes a flag for the injectable macro to disable the aforementioned feature
2022-08-01docs: add doc comments & deny missing docsHampusM
2022-07-31feat: add injecting singletons into constructorsHampusM
2022-07-24feat: add support for genericsHampusM
2022-07-22refactor: make factories an optional featureHampusM
2022-07-20refactor: reorganize folder hierarchyHampusM