Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
|
|
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default
|
|
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
|
|
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
|
|
|
|
BREAKING CHANGE: The injectable macro no longer expects braces around it's flags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BREAKING CHANGE: FactoryPtr has been limited to the factory feature
|
|
|
|
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
|
|
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
|
|
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
|
|
|
|
|
|
BREAKING CHANGE: Only DIContainer is re-exported from the di_container module
|
|
This commit will allow interface traits to be bound to default factories. Default factories being factories that doesn't take any arguments
|
|
|
|
|
|
|
|
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result'
|
|
|
|
|
|
|
|
|
|
|
|
|