aboutsummaryrefslogtreecommitdiff
path: root/src
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-09docs: fix unresolved links to DI container typesHampusM
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-03test: fix the can bind to factory unit testsHampusM
2022-10-02refactor: clarify binding builder to_factory signatureHampusM
2022-10-02docs: fix spelling mistakes in blocking & async DI containersHampusM
2022-10-02refactor: improve management of feature specific itemsHampusM
2022-10-02docs: add binding builder examplesHampusM
2022-10-01refactor: stop using the async_trait macro for AsyncInjectableHampusM
2022-10-01docs: add async binding builder examplesHampusM
2022-10-01docs: remove unnecessary feature noticesHampusM
2022-10-01refactor: shorten async binding builder trait boundsHampusM
2022-10-01chore: remove repetition of allowing clippy::module_name_repetitionsHampusM
2022-09-24refactor: remove unused import in DI container moduleHampusM
2022-09-24feat: add bind async default factories to async DI containerHampusM
2022-09-24refactor: remove IFactory from public APIHampusM
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-23fix: prevent problems caused by non send + sync traitsHampusM
2022-09-23refactor: make the async & non-async DI container bind methods must_useHampusM
2022-09-18feat: add binding async factories to async DI containerHampusM
2022-09-18refactor: add put factory return types in TransientPtr automaticallyHampusM
2022-09-18refactor: prevent look for default factory without factory featureHampusM
2022-09-18test: move some factory function types to type aliasesHampusM
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-03refactor: improve DI container cast errorsHampusM
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-08-31refactor: improve async DI container cast errorsHampusM
2022-08-31feat: add a threadsafe flag to the declare_default_factory macroHampusM
2022-08-30refactor: replace arc cast panic with an errorHampusM
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!: limit FactoryPtr & AnyFactory to the factory featureHampusM
BREAKING CHANGE: FactoryPtr has been limited to the factory feature
2022-08-27docs: update the DI container exampleHampusM
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-22refactor!: move specifying binding scope to a binding scope configuratorHampusM
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
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-21docs: fix declare_default_factory exampleHampusM
2022-08-21refactor: make the declare_default_factory macro take a tyHampusM
2022-08-21refactor!: only re-export DIContainerHampusM
BREAKING CHANGE: Only DIContainer is re-exported from the di_container module
2022-08-21feat: allow bind interface to default factoryHampusM
This commit will allow interface traits to be bound to default factories. Default factories being factories that doesn't take any arguments
2022-08-21docs: fix IFactory example use statementHampusM