aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-08-16feat: make SomePtr implement DebugHampusM
2023-08-16chore: fix warnings when only the async feature enabledHampusM
2023-08-16chore!: remove the factory macro async flagHampusM
BREAKING CHANGE: The factory macro's async flag has been removed
2023-08-15fix!: make the factory macro not change its inputHampusM
BREAKING CHANGE: The factory macro no longer - Changes the return type to be inside of a TransientPtr - Adds Send + Sync bounds when the threadsafe or the async flag is set - Changes the return type be inside of a BoxFuture when the async flag is set
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-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-04refactor: rename CastFromSync to CastFromArcHampusM
2023-08-04refactor!: remove async_closure macro from APIHampusM
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate
2023-08-02docs: fix wrong quotes in binding configuratorsHampusM
2023-08-01test: clean up binding configurator unit testsHampusM
2023-08-01refactor: remove calls to default on unit structsHampusM
2023-07-31refactor!: remove SomeThreadsafePtrErrorHampusM
BREAKING CHANGE: SomeThreadsafePtrError has been removed and SomePtrError is now used by both the methods of SomePtr and of SomeThreadsafePtr
2023-01-31fix: remove unwrap from generated implementations of InjectableHampusM
2023-01-19refactor: remove unnecessary must_use attributesHampusM
2023-01-19refactor!: make binding builder & configurator methods take self ownershipHampusM
BREAKING CHANGE: The methods of BindingBuilder, AsyncBuilder, BindingScopeConfigurator, AsyncBindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingWhenConfigurator now take ownership of self
2023-01-12refactor: fix Clippy lint in threadsafe castable factoryHampusM
2023-01-12refactor: fix Clippy lintsHampusM
2022-11-19refactor: reorganize non-public API itemsHampusM
2022-11-17refactor: use the async-lock crate instead of TokioHampusM
2022-11-11docs: add a example to the crate rootHampusM
2022-11-10refactor: improve type param names, docs & more of castingHampusM
2022-11-07refactor: fix some Clippy lints regarding format!()HampusM
2022-11-07fix: make factories work again after Rust nightly-2022-11-07HampusM
2022-11-06refactor: fix unused self clippy lint in blocking DI containerHampusM
2022-11-06test: split up cast unit tests into their respective modulesHampusM
2022-11-06refactor: improve cast error handlingHampusM
2022-11-03refactor: improve readability of cast functionsHampusM
2022-10-30docs: add sealed notices to DI container interfacesHampusM
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: add Debug implementations for castable factoriesHampusM
2022-10-24test: add binding configurator unit testsHampusM
2022-10-24refactor: rename DI container binding map to DI container storageHampusM
2022-10-24test: add castable factory unit testsHampusM
2022-10-24test: add provider unit testsHampusM
2022-10-23test: add binding builder unit testsHampusM
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-09docs: fix unresolved links to DI container typesHampusM
2022-10-09test: add more unit testsHampusM
2022-10-09refactor!: reorganize DI containersHampusM
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
2022-10-03refactor: remove relying on Rust nightly for better handling of featuresHampusM
2022-10-03test: fix the can bind to factory unit testsHampusM
2022-10-02refactor: clarify binding builder to_factory signatureHampusM
2022-10-02docs: fix spelling mistakes in blocking & async DI containersHampusM
2022-10-02refactor: improve management of feature specific itemsHampusM
2022-10-02docs: add binding builder examplesHampusM
2022-10-01refactor: stop using the async_trait macro for AsyncInjectableHampusM
2022-10-01docs: add async binding builder examplesHampusM
2022-10-01docs: remove unnecessary feature noticesHampusM