aboutsummaryrefslogtreecommitdiff
path: root/examples/with-3rd-party
AgeCommit message (Collapse)Author
2023-10-04refactor!: remove factory & declare_default_factory macrosHampusM
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories
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
2023-09-14refactor!: remove blocking DI container interfaceHampusM
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter
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-24refactor!: remove repetition of declaring factory interfacesHampusM
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function
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-27refactor!: make DI container have single get functionHampusM
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
2022-08-21refactor!: change errors to be more saneHampusM
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
2022-08-21docs: simplify with-3rd-party exampleHampusM
2022-08-21docs: add a example that uses a 3rd party libraryHampusM