From 5b0c6a52022e67a2d9cee251b3d08b9cb2b5f6cb Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 9 Oct 2022 12:05:24 +0200 Subject: refactor!: reorganize DI containers BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated --- macros/src/factory/build_declare_interfaces.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macros/src/factory') diff --git a/macros/src/factory/build_declare_interfaces.rs b/macros/src/factory/build_declare_interfaces.rs index 61e162f..6ab135e 100644 --- a/macros/src/factory/build_declare_interfaces.rs +++ b/macros/src/factory/build_declare_interfaces.rs @@ -12,10 +12,10 @@ pub fn build_declare_factory_interfaces( quote! { syrette::declare_interface!( syrette::castable_factory::threadsafe::ThreadsafeCastableFactory< - (std::sync::Arc,), + (std::sync::Arc,), #factory_interface > -> syrette::interfaces::factory::IThreadsafeFactory< - (std::sync::Arc,), + (std::sync::Arc,), #factory_interface >, async = true @@ -23,7 +23,7 @@ pub fn build_declare_factory_interfaces( syrette::declare_interface!( syrette::castable_factory::threadsafe::ThreadsafeCastableFactory< - (std::sync::Arc,), + (std::sync::Arc,), #factory_interface > -> syrette::interfaces::any_factory::AnyThreadsafeFactory, async = true @@ -33,17 +33,17 @@ pub fn build_declare_factory_interfaces( quote! { syrette::declare_interface!( syrette::castable_factory::blocking::CastableFactory< - (std::rc::Rc,), + (std::rc::Rc,), #factory_interface > -> syrette::interfaces::factory::IFactory< - (std::rc::Rc,), + (std::rc::Rc,), #factory_interface > ); syrette::declare_interface!( syrette::castable_factory::blocking::CastableFactory< - (std::rc::Rc,), + (std::rc::Rc,), #factory_interface > -> syrette::interfaces::any_factory::AnyFactory ); -- cgit v1.2.3-18-g5258