aboutsummaryrefslogtreecommitdiff
path: root/macros/src/lib.rs
AgeCommit message (Collapse)Author
2023-08-16chore!: remove the factory macro async flagHampusM
BREAKING CHANGE: The factory macro's async flag has been removed
2023-08-16docs: add missing TransientPtr import to factory macro exampleHampusM
2023-08-15fix!: make the factory macro not change its inputHampusM
BREAKING CHANGE: The factory macro no longer - Changes the return type to be inside of a TransientPtr - Adds Send + Sync bounds when the threadsafe or the async flag is set - Changes the return type be inside of a BoxFuture when the async flag is set
2023-08-13feat: add internal logging for macrosHampusM
2023-08-05fix: change terminology in injectable macro async flag errorHampusM
2023-08-05docs: improve injectable macro docsHampusM
2023-08-04refactor!: rename the async flag of the declare_interface macroHampusM
BREAKING CHANGE: The flag 'async' of the declare_interface macro has been renamed to 'threadsafe_sharable'. The reason being that the name 'async' was an outright lie. The new name describes exactly what the flag enables
2023-08-03docs: remove panics sections from macrosHampusM
2023-08-03docs: move the injectable macro example sectionHampusM
2023-08-03feat: add constructor name flag to injectable macroHampusM
2023-01-30fix: add missing dummy async injectable implHampusM
2023-01-30feat: improve macro error messagesHampusM
2023-01-12refactor: allow manual let else in macros crateHampusM
2023-01-12refactor: add deny unsafe code in macros crateHampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-08fix: allow for concrete type interfaces to be marked asyncHampusM
2022-11-06fix: allow declaring a concrete type as it's own interfaceHampusM
2022-10-25refactor: improve injectable macro error messagesHampusM
2022-10-23fix: remove unused Rust feature flagHampusM
2022-10-15refactor: improve internals of macros & add unit testsHampusM
2022-10-03refactor: remove relying on Rust nightly for better handling of featuresHampusM
2022-10-02refactor: improve management of feature specific itemsHampusM
2022-10-01chore: remove repetition of allowing clippy::module_name_repetitionsHampusM
2022-10-01docs: improve item links in the injectable macroHampusM
2022-10-01docs: fix unresolved link to TransientPtrHampusM
2022-09-24feat: add bind async default factories to async DI containerHampusM
2022-09-24refactor!: remove repetition of declaring factory interfacesHampusM
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function
2022-09-24refactor: reorganize modules in the macros crateHampusM
2022-09-23fix: prevent problems caused by non send + sync traitsHampusM
2022-09-18feat: add binding async factories to async DI containerHampusM
2022-09-18feat: add factory macro async flagHampusM
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