Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-18 | build: improve async dependencies | HampusM | |
2022-09-18 | refactor: prevent look for default factory without factory feature | HampusM | |
2022-09-18 | test: move some factory function types to type aliases | 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-03 | refactor: improve DI container cast errors | HampusM | |
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 | refactor: improve async DI container cast errors | 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-30 | docs: add async support to readme | HampusM | |
2022-08-30 | refactor: replace arc cast panic with an error | 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-28 | docs: use anyhow in the unbound example | HampusM | |
2022-08-28 | docs: correct the example in the readme | HampusM | |
2022-08-28 | docs: add CI shield to readme | HampusM | |
2022-08-28 | ci: add workflow to CircleCI config | HampusM | |
2022-08-28 | ci: add CircleCI config | 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: improve private method names & clean up InjectableImpl | HampusM | |
2022-08-21 | docs: remove license shield from readme | HampusM | |
2022-08-21 | build: bump versions to 0.3.0v0.3.0 | HampusM | |
2022-08-21 | docs: add v0.3.0 to changelog | HampusM | |
2022-08-21 | docs: change project descriptions to describe it as a framework | 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 | docs: fix declare_default_factory example | HampusM | |
2022-08-21 | docs: add injection of 3rd-party structs & traits to features list | HampusM | |
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 | refactor: make the declare_default_factory macro take a ty | HampusM | |
2022-08-21 | refactor!: only re-export DIContainer | HampusM | |
BREAKING CHANGE: Only DIContainer is re-exported from the di_container module | |||
2022-08-21 | docs: add a example that uses a 3rd party library | HampusM | |
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: fix IFactory example use statement | HampusM | |
2022-08-21 | docs: improve the factory example | HampusM | |
2022-08-21 | fix: make DI container get_factory calls in the injectable macro valid | HampusM | |
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' |