aboutsummaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
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
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-21build: bump versions to 0.3.0v0.3.0HampusM
2022-08-21docs: change project descriptions to describe it as a frameworkHampusM
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-02chore: change license to MIT or Apache-2.0HampusM
2022-08-02build: change license in manifests to LGPL-2.1-onlyHampusM
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
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-01build: bump versions to 0.2.1v0.2.1HampusM
2022-08-01docs: add doc comments & deny missing docsHampusM
2022-07-31build: bump versions to 0.2.0v0.2.0HampusM
2022-07-31feat: add injecting singletons into constructorsHampusM