aboutsummaryrefslogtreecommitdiff
path: root/macros/src/injectable
AgeCommit message (Collapse)Author
2024-07-13refactor: move & rename all mod.rs filesHampusM
2023-12-22refactor: mock Dependency struct impl instead of IDependencyHampusM
2023-12-22feat: add support for async constructorsHampusM
2023-10-01refactor: remove impossible unwrap in injectable macroHampusM
This unwrap couldn't possibly be Err and can be removed by creating method call expressions by hand
2023-09-30fix: allow dependency interface types other than trait & pathHampusM
2023-09-30test: import test util functions for injectable macro testsHampusM
2023-09-30refactor: remove unnecessary cloning of impl generics & self typeHampusM
2023-09-27fix: set injectable macro dummies directly after parsing inputHampusM
2023-09-27fix: make dummy Injectable & AsyncInjectable impls validHampusM
2023-09-26test: make unit tests not return ResultHampusM
2023-09-18refactor!: make the async DI container not inside a ArcHampusM
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable
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-16refactor!: remove async DI container interfaceHampusM
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter
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
2023-08-20feat: expose DI container get_bound methods to public APIHampusM
2023-08-18test: import proc_macro2 TokenStream in dependency testsHampusM
Fixes the dependency tests not working on Rust 1.62.1
2023-08-05refactor!: remove IDependencyHistoryHampusM
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-04refactor!: remove SomeThreadsafePtr & move variants to SomePtrHampusM
BREAKING CHANGE: SomeThreadsafePtr has been removed and it's variants have been moved to SomePtr
2023-08-03feat: add constructor name flag to injectable macroHampusM
2023-08-01test: remove unused std::error::Error importHampusM
2023-08-01test: clean up InjectableMacroArgs unit testsHampusM
2023-08-01test: remove Result return value of can_build_dependenciesHampusM
2023-08-01test: fix create_single_get_dep_method_call unit testsHampusM
2023-01-31fix: remove unwrap from generated implementations of InjectableHampusM
2023-01-30fix: add missing dummy async injectable implHampusM
2023-01-30feat: improve macro error messagesHampusM
2023-01-13refactor: put syn_path_to_string in a extension traitHampusM
2022-11-11test: add unit tests for parsing injectable macro argsHampusM
2022-11-07refactor: fix some Clippy lints regarding format!()HampusM
2022-11-06fix: allow declaring a concrete type as it's own interfaceHampusM
2022-11-06fix: allow injectable macro flag arguments without a interface argumentHampusM
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-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-01refactor: stop using the async_trait macro for AsyncInjectableHampusM
2022-09-24refactor: reorganize modules in the macros crateHampusM