aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/asynchronous/mod.rs
AgeCommit message (Collapse)Author
2023-10-04refactor!: remove factory & declare_default_factory macrosHampusM
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories
2023-10-04refactor: remove unused import warning in async DI container moduleHampusM
2023-10-04refactor!: remove mutex in AsyncDIContainerHampusM
BREAKING CHANGE: Multiple async DI container binding builder & binding configurator functions are no longer async
2023-09-26test: make unit tests not return ResultHampusM
2023-09-19docs: add examples to DI container & related functionsHampusM
2023-09-18refactor!: make the async DI container not inside a ArcHampusM
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable
2023-09-18refactor: replace threadsafe castable factory Fn impl with methodHampusM
2023-09-18refactor: make threadsafe castable factory take DI container paramHampusM
2023-09-16refactor!: remove async DI container prelude moduleHampusM
BREAKING CHANGE: The async DI container prelude module have been removed as it is no longer necessary seeing as the async DI container interface have been removed
2023-09-16refactor!: remove async DI container interfaceHampusM
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter
2023-08-31refactor: pass around BindingOptions instead of nameHampusM
2023-08-20feat: expose DI container get_bound methods to public APIHampusM
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-15fix!: make the factory macro not change its inputHampusM
BREAKING CHANGE: The factory macro no longer - Changes the return type to be inside of a TransientPtr - Adds Send + Sync bounds when the threadsafe or the async flag is set - Changes the return type be inside of a BoxFuture when the async flag is set
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
2023-08-04refactor!: remove SomeThreadsafePtr & move variants to SomePtrHampusM
BREAKING CHANGE: SomeThreadsafePtr has been removed and it's variants have been moved to SomePtr
2023-01-19refactor: remove unnecessary must_use attributesHampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-17refactor: use the async-lock crate instead of TokioHampusM
2022-11-06refactor: improve cast error handlingHampusM
2022-10-30docs: add sealed notices to DI container interfacesHampusM
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-24refactor: rename DI container binding map to DI container storageHampusM
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