Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-25 | refactor: improve injectable macro error messages | HampusM | |
2022-10-23 | fix: remove unused Rust feature flag | HampusM | |
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-15 | refactor: improve internals of macros & add unit tests | HampusM | |
2022-10-09 | test: add more unit tests | HampusM | |
2022-10-09 | refactor!: reorganize DI containers | HampusM | |
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated | |||
2022-10-03 | refactor: remove relying on Rust nightly for better handling of features | HampusM | |
2022-10-02 | refactor: improve management of feature specific items | HampusM | |
2022-10-01 | refactor: stop using the async_trait macro for AsyncInjectable | HampusM | |
2022-10-01 | chore: remove repetition of allowing clippy::module_name_repetitions | HampusM | |
2022-10-01 | docs: improve item links in the injectable macro | HampusM | |
2022-10-01 | docs: fix unresolved link to TransientPtr | HampusM | |
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-24 | refactor: reorganize modules in the macros crate | HampusM | |
2022-09-23 | fix: prevent problems caused by non send + sync traits | HampusM | |
2022-09-18 | feat: add binding async factories to async DI container | HampusM | |
2022-09-18 | feat: add factory macro async flag | HampusM | |
2022-09-18 | refactor: add put factory return types in TransientPtr automatically | HampusM | |
2022-09-18 | docs: fix ambiguous link to the factory macro | 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-09-02 | refactor: rename the factory macro flag 'async' to 'threadsafe' | HampusM | |
2022-09-02 | refactor: remove unused import of ItemTrait | HampusM | |
2022-08-31 | feat: add a threadsafe flag to the declare_default_factory macro | HampusM | |
2022-08-31 | fix: add missing semicolon in the factory macro | HampusM | |
2022-08-29 | feat: implement async functionality | HampusM | |
2022-08-28 | docs: improve & add examples | HampusM | |
2022-08-28 | style: add rustfmt config options | 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-21 | refactor: improve private method names & clean up InjectableImpl | HampusM | |
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 | fix: make DI container get_factory calls in the injectable macro valid | HampusM | |
2022-08-03 | refactor: add Cargo feature for preventing circular dependencies | HampusM | |
2022-08-02 | refactor: move creating a dependency trace to it's own function | 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 | refactor: limit the factory macro to the factory feature | HampusM | |
2022-08-01 | feat: add hide impl of Injectable from documentation | HampusM | |
This will make it so that by default the impl of Injectable is hidden from user code documentation. This commit also includes a flag for the injectable macro to disable the aforementioned feature | |||
2022-08-01 | docs: add doc comments & deny missing docs | HampusM | |
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-24 | refactor: clean up intertrait lib | HampusM | |
2022-07-22 | refactor: make factories an optional feature | HampusM | |