aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)Author
2022-08-29feat: implement async functionalityHampusM
2022-08-28docs: improve & add examplesHampusM
2022-08-28style: add rustfmt config optionsHampusM
2022-08-21docs: fix declare_default_factory exampleHampusM
2022-08-21refactor: make the declare_default_factory macro take a tyHampusM
2022-08-21refactor!: only re-export DIContainerHampusM
BREAKING CHANGE: Only DIContainer is re-exported from the di_container module
2022-08-21feat: allow bind interface to default factoryHampusM
This commit will allow interface traits to be bound to default factories. Default factories being factories that doesn't take any arguments
2022-08-21feat!: prevent binding the same interface more than onceHampusM
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result'
2022-08-02refactor: move creating a dependency trace to it's own functionHampusM
2022-08-01docs: add doc comments & deny missing docsHampusM
2022-07-31refactor: tidy up DI container internalsHampusM
2022-07-24refactor: hide castable factory from docsHampusM
2022-07-24feat: add support for genericsHampusM
2022-07-22refactor: make factories an optional featureHampusM
2022-07-20refactor: reorganize folder hierarchyHampusM