From 89c238f9c82ade2d7656e2bee76838a391609a88 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 5 Aug 2023 23:14:06 +0200 Subject: 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 --- macros/src/injectable/implementation.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'macros/src') 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 InjectableImpl ) -> proc_macro2::TokenStream { quote! { - use syrette::dependency_history::IDependencyHistory; - if #dependency_history_var.contains::() { #dependency_history_var.push::(); @@ -231,7 +229,6 @@ impl InjectableImpl #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 InjectableImpl #maybe_doc_hidden impl #generics syrette::interfaces::injectable::Injectable< syrette::di_container::blocking::DIContainer, - syrette::dependency_history::DependencyHistory > for #self_type { fn resolve( -- cgit v1.2.3-18-g5258