aboutsummaryrefslogtreecommitdiff
path: root/src/provider/async.rs
AgeCommit message (Collapse)Author
2023-08-18refactor: replace use_dependency_history with a more generic macroHampusM
2023-08-16chore: fix warnings when only the async feature enabledHampusM
2023-08-05refactor!: remove IDependencyHistoryHampusM
BREAKING CHANGE: IDependencyHistory has been removed as part of an effort to simplify the API. This affects IDIContainer, DIContainer, IAsyncDIContainer, AsyncDIContainer, Injectable, AsyncInjectable, BindingBuilder, AsyncBindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator and DependencyHistory
2022-11-19refactor: reorganize non-public API itemsHampusM
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: add Debug implementations for castable factoriesHampusM
2022-10-24test: add binding configurator unit testsHampusM
2022-10-24test: add provider unit testsHampusM
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-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-01chore: remove repetition of allowing clippy::module_name_repetitionsHampusM
2022-09-24feat: add bind async default factories to async DI containerHampusM
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-08-29feat: implement async functionalityHampusM