aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/bootstrap.rs
AgeCommit message (Collapse)Author
2023-09-17refactor!: make the blocking DI container not inside a RcHampusM
BREAKING CHANGE: The blocking DI container is no longer inside of a Rc. This affects BindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator & Injectable
2023-09-14refactor!: remove blocking DI container prelude moduleHampusM
BREAKING CHANGE: The blocking DI container prelude module have been removed as it is no longer necessary seeing as the blocking DI container interface have been removed
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-09-17feat!: allow factories access to DI containerHampusM
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-17refactor!: make DI container be used inside of a RcHampusM
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
2022-08-22refactor!: move specifying binding scope to a binding scope configuratorHampusM
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
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-07-31feat: add injecting singletons into constructorsHampusM
2022-07-22refactor: make factories an optional featureHampusM
2022-07-21docs: rename example folder to examplesHampusM