Age | Commit message (Collapse) | Author |
|
|
|
|
|
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories
|
|
BREAKING CHANGE: Multiple async DI container binding builder & binding configurator functions are no longer async
|
|
|
|
|
|
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable
|
|
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
|
|
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter
|
|
|
|
|
|
BREAKING CHANGE: The factory macro's async flag has been removed
|
|
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
|
|
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
|
|
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate
|
|
|
|
|
|
BREAKING CHANGE: The methods of BindingBuilder, AsyncBuilder, BindingScopeConfigurator, AsyncBindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingWhenConfigurator now take ownership of self
|
|
|
|
|
|
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
|
|
|
|
|
|
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
|
|
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
|