aboutsummaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
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-04refactor!: rename the async flag of the declare_interface macroHampusM
BREAKING CHANGE: The flag 'async' of the declare_interface macro has been renamed to 'threadsafe_sharable'. The reason being that the name 'async' was an outright lie. The new name describes exactly what the flag enables
2023-08-03docs: remove panics sections from macrosHampusM
2023-08-03docs: move the injectable macro example sectionHampusM
2023-08-03test: add & improve MacroFlag unit testsHampusM
2023-08-03feat: add constructor name flag to injectable macroHampusM
2023-08-02test: clean up create_caster_fn_ident unit testHampusM
2023-08-02test: clean up DeclareDefaultFactoryMacroArgs unit testsHampusM
2023-08-02perf: reduce number of allocations in SynPathExt::to_stringHampusM
2023-08-02build: improve the fix for the predicates-tree MSRV changeHampusM
Dependents won't be prevented from using a newer version of predicates-tree now
2023-08-01test: clean up FactoryMacroArgs unit testsHampusM
2023-08-01test: clean up DeclareInterfaceArgs unit testsHampusM
2023-08-01test: remove unused std::error::Error importHampusM
2023-08-01test: remove vec macro usages in IteratorExt unit testsHampusM
2023-08-01test: clean up InjectableMacroArgs unit testsHampusM
2023-08-01test: remove Result return value of can_build_dependenciesHampusM
2023-08-01build: add temporary fix for predicates-tree MSRV changeHampusM
The MSRV of predicates-tree (a dependency of mockall) was changed to 1.64.0 and released as a patch release, making this project not buildable using Rust 1.63.0. This commit fixes that by making sure only the latest version of predicates-tree with a 1.63.0 MSRV is used
2023-08-01build: use mockall 0.11.4HampusM
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
2023-01-12refactor: allow manual let else in macros crateHampusM
2023-01-12refactor: add deny unsafe code in macros crateHampusM
2022-11-28build: bump versions to 0.4.2v0.4.2HampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-12test: replace the test_util_macros crate with utility-macrosHampusM
2022-11-11test: add unit test for create_caster_fn_identHampusM
2022-11-11test: add unit tests for parsing injectable macro argsHampusM
2022-11-11test: remove some unused importsHampusM
2022-11-11test: add unit tests for parsing declare_interface macro argsHampusM
2022-11-11test: add unit test for parsing factory type aliasesHampusM
2022-11-11test: make small improvements in the declare_default_factory macro args testsHampusM
2022-11-11test: add unit tests for parsing factory macro argsHampusM
2022-11-11test: add unit tests for parsing declare_default_factory macro argsHampusM
2022-11-08fix: allow for concrete type interfaces to be marked asyncHampusM
2022-11-07refactor: fix some Clippy lints regarding format!()HampusM
2022-11-07build: fix running macros tests on Rust stableHampusM
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-11-06refactor: improve cast error handlingHampusM
2022-10-30build: bump versions to 0.4.1v0.4.1HampusM
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-25refactor: improve injectable macro error messagesHampusM
2022-10-23fix: remove unused Rust feature flagHampusM
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