Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-23 | refactor: make the async & non-async DI container bind methods must_use | HampusM | |
2022-09-18 | refactor: add put factory return types in TransientPtr automatically | HampusM | |
2022-09-18 | test: move some factory function types to type aliases | HampusM | |
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-03 | refactor: improve DI container cast errors | HampusM | |
2022-08-29 | feat: implement async functionality | HampusM | |
2022-08-28 | style: add rustfmt config options | HampusM | |
2022-08-27 | feat: implement named bindings | HampusM | |
2022-08-27 | refactor!: limit FactoryPtr & AnyFactory to the factory feature | HampusM | |
BREAKING CHANGE: FactoryPtr has been limited to the factory feature | |||
2022-08-27 | docs: update the DI container example | 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 | feat: allow bind interface to default factory | HampusM | |
This commit will allow interface traits to be bound to default factories. Default factories being factories that doesn't take any arguments | |||
2022-08-21 | docs: correct examples | HampusM | |
2022-08-21 | test: correct DI container bind tests | 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-08-02 | docs: fix DI container module documentation | HampusM | |
2022-08-02 | test: reduce repetition in DI container tests | HampusM | |
2022-08-02 | feat: add detection and prevention of circular dependencies | HampusM | |
2022-08-01 | docs: add factory feature notices | HampusM | |
2022-08-01 | docs: add doc comments & deny missing docs | HampusM | |
2022-07-31 | refactor: tidy up DI container internals | HampusM | |
2022-07-31 | feat: implement binding singletons | HampusM | |
2022-07-31 | refactor!: rename InterfacePtr to TransientPtr | HampusM | |
BREAKING CHANGE: InterfacePtr has been renamed to TransientPtr | |||
2022-07-27 | refactor: add back Intertrait tests & Rc support | HampusM | |
2022-07-24 | perf: use ahash in DI container | HampusM | |
2022-07-22 | refactor: make factories an optional feature | HampusM | |
2022-07-20 | refactor: reorganize folder hierarchy | HampusM | |