aboutsummaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2022-11-28build: bump versions to 0.4.2v0.4.2HampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-12test: replace the test_util_macros crate with utility-macrosHampusM
2022-11-11test: add unit test for create_caster_fn_identHampusM
2022-11-11test: add unit tests for parsing injectable macro argsHampusM
2022-11-11test: remove some unused importsHampusM
2022-11-11test: add unit tests for parsing declare_interface macro argsHampusM
2022-11-11test: add unit test for parsing factory type aliasesHampusM
2022-11-11test: make small improvements in the declare_default_factory macro args testsHampusM
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-07build: fix running macros tests on Rust stableHampusM
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-30build: bump versions to 0.4.1v0.4.1HampusM
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-01build: bump versions to 0.4.0HampusM
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