aboutsummaryrefslogtreecommitdiff
path: root/macros/src
AgeCommit message (Collapse)Author
2022-11-11test: add unit tests for parsing factory macro argsHampusM
2022-11-11test: add unit tests for parsing declare_default_factory macro argsHampusM
2022-11-08fix: allow for concrete type interfaces to be marked asyncHampusM
2022-11-07refactor: fix some Clippy lints regarding format!()HampusM
2022-11-06fix: allow declaring a concrete type as it's own interfaceHampusM
2022-11-06fix: allow injectable macro flag arguments without a interface argumentHampusM
2022-11-06refactor: improve cast error handlingHampusM
2022-10-29refactor!: add dependency history typeHampusM
BREAKING CHANGE: Binding builders & configurators now take dependency history type arguments, the DetectedCircular variant of InjectableError now contains a dependency history field & the injectable traits take dependency history instead of a Vec
2022-10-25refactor: improve injectable macro error messagesHampusM
2022-10-23fix: remove unused Rust feature flagHampusM
2022-10-23refactor!: reduce DI container couplingHampusM
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
2022-10-15refactor: improve internals of macros & add unit testsHampusM
2022-10-09test: add more unit testsHampusM
2022-10-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-03refactor: remove relying on Rust nightly for better handling of featuresHampusM
2022-10-02refactor: improve management of feature specific itemsHampusM
2022-10-01refactor: stop using the async_trait macro for AsyncInjectableHampusM
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-17refactor!: make async DI container be used inside of a ArcHampusM
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default
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-17refactor!: make DI container be used inside of a RcHampusM
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
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-27refactor!: make DI container have single get functionHampusM
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
2022-08-21refactor: improve private method names & clean up InjectableImplHampusM
2022-08-21refactor!: change errors to be more saneHampusM
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
2022-08-21fix: make DI container get_factory calls in the injectable macro validHampusM
2022-08-03refactor: add Cargo feature for preventing circular dependenciesHampusM
2022-08-02refactor: move creating a dependency trace to it's own functionHampusM
2022-08-02feat: add detection and prevention of circular dependenciesHampusM
2022-08-01docs: add factory feature noticesHampusM
2022-08-01refactor: limit the factory macro to the factory featureHampusM