Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-17 | docs: remove the 'unbound' example | HampusM | |
This was not at all a useful example | |||
2023-08-16 | test: make the prevent-circular example an integration test | HampusM | |
2023-08-16 | chore!: remove the factory macro async flag | HampusM | |
BREAKING CHANGE: The factory macro's async flag has been removed | |||
2023-08-15 | fix!: make the factory macro not change its input | HampusM | |
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-04 | refactor!: remove async_closure macro from API | HampusM | |
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate | |||
2022-11-03 | docs: add comments explaining the prevent-circular example | HampusM | |
2022-10-29 | refactor!: add dependency history type | HampusM | |
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-23 | refactor!: reduce DI container coupling | HampusM | |
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods | |||
2022-10-09 | refactor!: reorganize DI containers | HampusM | |
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated | |||
2022-09-24 | feat: add bind async default factories to async DI container | HampusM | |
2022-09-24 | refactor!: remove repetition of declaring factory interfaces | HampusM | |
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function | |||
2022-09-21 | docs: make IFood in async example Send + Sync | HampusM | |
2022-09-18 | feat: add binding async factories to async DI container | HampusM | |
2022-09-18 | refactor: add put factory return types in TransientPtr automatically | HampusM | |
2022-09-17 | docs: add missing modules in the async example | HampusM | |
2022-09-17 | feat!: allow factories to access async DI container | HampusM | |
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function | |||
2022-09-17 | refactor!: make async DI container be used inside of a Arc | HampusM | |
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default | |||
2022-09-17 | feat!: allow factories access to DI container | HampusM | |
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-17 | refactor!: make DI container be used inside of a Rc | HampusM | |
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default | |||
2022-09-02 | refactor!: remove braces from expected injectable macro input | HampusM | |
BREAKING CHANGE: The injectable macro no longer expects braces around it's flags | |||
2022-08-29 | feat: implement async functionality | HampusM | |
2022-08-28 | docs: use anyhow in the unbound example | HampusM | |
2022-08-27 | feat: implement named bindings | HampusM | |
2022-08-27 | refactor!: make DI container have single get function | HampusM | |
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum | |||
2022-08-22 | refactor!: move specifying binding scope to a binding scope configurator | HampusM | |
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator | |||
2022-08-21 | refactor!: change errors to be more sane | HampusM | |
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used | |||
2022-08-21 | docs: add example for displaying a unbound interface error | HampusM | |
2022-08-21 | docs: simplify with-3rd-party example | HampusM | |
2022-08-21 | docs: add a example that uses a 3rd party library | HampusM | |
2022-08-21 | docs: improve the factory example | HampusM | |
2022-08-21 | feat!: prevent binding the same interface more than once | HampusM | |
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result' | |||
2022-07-31 | feat: add injecting singletons into constructors | HampusM | |
2022-07-31 | refactor!: rename InterfacePtr to TransientPtr | HampusM | |
BREAKING CHANGE: InterfacePtr has been renamed to TransientPtr | |||
2022-07-24 | feat: add support for generics | HampusM | |
2022-07-22 | refactor: make factories an optional feature | HampusM | |
2022-07-21 | refactor: re-export dependency of error_stack | HampusM | |
2022-07-21 | docs: rename example folder to examples | HampusM | |