Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-11 | refactor: rename castable factory to castable function | HampusM | |
2024-07-11 | refactor: move & rename AnyFactory and AnyThreadsafeFactory traits | HampusM | |
2023-10-04 | refactor!: remove factory & declare_default_factory macros | HampusM | |
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories | |||
2023-09-18 | refactor: replace threadsafe castable factory Fn impl with method | HampusM | |
2023-09-14 | refactor!: remove blocking DI container prelude module | HampusM | |
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-14 | refactor!: remove blocking DI container interface | HampusM | |
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter | |||
2023-08-05 | refactor!: remove IDependencyHistory | HampusM | |
BREAKING CHANGE: IDependencyHistory has been removed as part of an effort to simplify the API. This affects IDIContainer, DIContainer, IAsyncDIContainer, AsyncDIContainer, Injectable, AsyncInjectable, BindingBuilder, AsyncBindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator and DependencyHistory | |||
2023-08-04 | refactor!: remove async_closure macro from API | HampusM | |
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate | |||
2022-11-19 | refactor: reorganize non-public API items | HampusM | |
2022-11-11 | docs: add a example to the crate root | HampusM | |
2022-11-07 | fix: make factories work again after Rust nightly-2022-11-07 | HampusM | |
2022-10-29 | refactor!: add dependency history type | HampusM | |
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-23 | refactor!: reduce DI container coupling | HampusM | |
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods | |||
2022-10-15 | refactor: improve internals of macros & add unit tests | HampusM | |
2022-10-09 | test: add more unit tests | HampusM | |
2022-10-09 | refactor!: reorganize DI containers | HampusM | |
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated | |||
2022-10-03 | refactor: remove relying on Rust nightly for better handling of features | HampusM | |
2022-10-02 | refactor: improve management of feature specific items | HampusM | |
2022-10-01 | chore: remove repetition of allowing clippy::module_name_repetitions | HampusM | |
2022-09-24 | feat: add bind async default factories to async DI container | HampusM | |
2022-09-18 | feat: add binding async factories to async DI container | HampusM | |
2022-08-31 | feat: add a threadsafe flag to the declare_default_factory macro | 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-21 | docs: fix declare_default_factory 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 | 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 | feat!: prevent binding the same interface more than once | HampusM | |
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result' | |||
2022-08-02 | refactor: move creating a dependency trace to it's own function | HampusM | |
2022-08-01 | docs: add doc comments & deny missing docs | HampusM | |
2022-07-31 | refactor: tidy up DI container internals | HampusM | |
2022-07-24 | refactor: hide castable factory from docs | HampusM | |
2022-07-24 | feat: add support for generics | HampusM | |
2022-07-22 | refactor: make factories an optional feature | HampusM | |
2022-07-20 | refactor: reorganize folder hierarchy | HampusM | |