diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-05 23:14:06 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-05 23:14:06 +0200 |
commit | 89c238f9c82ade2d7656e2bee76838a391609a88 (patch) | |
tree | 8771a893a9c83b06715c3af0fa2da3cd206b0716 /macros/src/injectable | |
parent | ddc666c55eec968f9a99408f3e3ad0f92d932179 (diff) |
refactor!: remove IDependencyHistory
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
Diffstat (limited to 'macros/src/injectable')
-rw-r--r-- | macros/src/injectable/implementation.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/macros/src/injectable/implementation.rs b/macros/src/injectable/implementation.rs index 575b5c4..bf168a4 100644 --- a/macros/src/injectable/implementation.rs +++ b/macros/src/injectable/implementation.rs @@ -195,8 +195,6 @@ impl<Dep: IDependency> InjectableImpl<Dep> ) -> proc_macro2::TokenStream { quote! { - use syrette::dependency_history::IDependencyHistory; - if #dependency_history_var.contains::<Self>() { #dependency_history_var.push::<Self>(); @@ -231,7 +229,6 @@ impl<Dep: IDependency> InjectableImpl<Dep> #maybe_doc_hidden impl #generics syrette::interfaces::async_injectable::AsyncInjectable< syrette::di_container::asynchronous::AsyncDIContainer, - syrette::dependency_history::DependencyHistory > for #self_type { fn resolve<'di_container, 'fut>( @@ -293,7 +290,6 @@ impl<Dep: IDependency> InjectableImpl<Dep> #maybe_doc_hidden impl #generics syrette::interfaces::injectable::Injectable< syrette::di_container::blocking::DIContainer, - syrette::dependency_history::DependencyHistory > for #self_type { fn resolve( |