aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)Author
2022-11-11docs: add a example to the crate rootHampusM
2022-11-07fix: make factories work again after Rust nightly-2022-11-07HampusM
2022-10-29refactor!: add dependency history typeHampusM
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-23refactor!: reduce DI container couplingHampusM
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
2022-10-15refactor: improve internals of macros & add unit testsHampusM
2022-10-09test: add more unit testsHampusM
2022-10-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-03refactor: remove relying on Rust nightly for better handling of featuresHampusM
2022-10-02refactor: improve management of feature specific itemsHampusM
2022-10-01chore: remove repetition of allowing clippy::module_name_repetitionsHampusM
2022-09-24feat: add bind async default factories to async DI containerHampusM
2022-09-18feat: add binding async factories to async DI containerHampusM
2022-08-31feat: add a threadsafe flag to the declare_default_factory macroHampusM
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