aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-28WIP Linkme dependency removalwithout-linkmeHampusM
2023-12-22refactor: mock Dependency struct impl instead of IDependencyHampusM
2023-12-22build: enable Syn's extra-traits crate featureHampusM
This fixes that syrette_macros can only be built as a dependency of Syrette
2023-12-22feat: add support for async constructorsHampusM
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-10-04refactor: remove unused import warning in async DI container moduleHampusM
2023-10-04refactor!: remove mutex in AsyncDIContainerHampusM
BREAKING CHANGE: Multiple async DI container binding builder & binding configurator functions are no longer async
2023-10-03refactor: remove inner mutability of blocking DI containerHampusM
2023-10-01feat: implement Injectable & AsyncInjectable for Default typesHampusM
2023-10-01docs: add 0.5.1 to changelogv0.5.1HampusM
2023-10-01chore: make docs style html for macro crate not a symlinkHampusM
2023-10-01build: bump version to 0.5.1HampusM
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-10-01refactor: make camel cased text snake cased without regexHampusM
2023-09-30fix: allow dependency interface types other than trait & pathHampusM
2023-09-30style: shorten lines exceeding 90 in width in injectable macroHampusM
2023-09-30test: import test util functions for injectable macro testsHampusM
2023-09-30refactor: remove unnecessary cloning of impl generics & self typeHampusM
2023-09-30docs: remove nonexistent feature from feature list in readmeHampusM
2023-09-27build: remove examples from files excluded when packagingHampusM
2023-09-27fix: set injectable macro dummies directly after parsing inputHampusM
2023-09-27fix: make dummy Injectable & AsyncInjectable impls validHampusM
2023-09-27docs: clarify named macro documentationHampusM
2023-09-27refactor: remove unnecessary doc(cfg) attrs on private modulesHampusM
2023-09-26test: make unit tests not return ResultHampusM
2023-09-25docs: fix custom CSS not used by docs.rsHampusM
2023-09-21docs: add release 0.5.0 to changelogv0.5.0HampusM
2023-09-21build: bump versions to 0.5.0HampusM
2023-09-19docs: add examples to DI container & related functionsHampusM
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-18refactor: replace threadsafe castable factory Fn impl with methodHampusM
2023-09-18refactor: make threadsafe castable factory take DI container paramHampusM
2023-09-17refactor: move castable factory to directory moduleHampusM
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-17refactor: replace castable factory Fn impl with methodHampusM
2023-09-16refactor: make castable factory take DI container paramHampusM
2023-09-16refactor: move DI container get_binding_providable to other implHampusM
The get_binding_providable method doesn't need to be mocked so it should be moved to a non mocked impl
2023-09-16refactor!: remove async DI container prelude moduleHampusM
BREAKING CHANGE: The async DI container prelude module have been removed as it is no longer necessary seeing as the async DI container interface have been removed
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-16docs: add threadsafe flag to IFooFactory in async-factory exampleHampusM
This makes the async-factory example work again
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
2023-09-12feat: make dependency history new method constHampusM
2023-09-12feat: make binding options name method constHampusM
2023-09-09refactor: remove unnecessary block in the BindingBuilder::to methodHampusM
2023-09-01refactor: remove unnecessary phantom data fields from providersHampusM
2023-08-31build: exclude files when packagingHampusM
2023-08-31refactor: pass around BindingOptions instead of nameHampusM
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