aboutsummaryrefslogtreecommitdiff
path: root/macros/src/factory/build_declare_interfaces.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-11-19 15:45:12 +0100
committerHampusM <hampus@hampusmat.com>2022-11-19 15:45:12 +0100
commit9f27a925bd323e8e0864bedeb33a3c6953517ea1 (patch)
treeea5d8faaed82c58fa037fa377173bb365e1cd697 /macros/src/factory/build_declare_interfaces.rs
parentd99cbf9fa95856cbc14a3217e1cd3f13aeb2e0b3 (diff)
refactor: reorganize non-public API items
Diffstat (limited to 'macros/src/factory/build_declare_interfaces.rs')
-rw-r--r--macros/src/factory/build_declare_interfaces.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/src/factory/build_declare_interfaces.rs b/macros/src/factory/build_declare_interfaces.rs
index 6ab135e..038d29d 100644
--- a/macros/src/factory/build_declare_interfaces.rs
+++ b/macros/src/factory/build_declare_interfaces.rs
@@ -11,10 +11,10 @@ pub fn build_declare_factory_interfaces(
if is_threadsafe {
quote! {
syrette::declare_interface!(
- syrette::castable_factory::threadsafe::ThreadsafeCastableFactory<
+ syrette::private::castable_factory::threadsafe::ThreadsafeCastableFactory<
(std::sync::Arc<syrette::AsyncDIContainer>,),
#factory_interface
- > -> syrette::interfaces::factory::IThreadsafeFactory<
+ > -> syrette::private::factory::IThreadsafeFactory<
(std::sync::Arc<syrette::AsyncDIContainer>,),
#factory_interface
>,
@@ -22,30 +22,30 @@ pub fn build_declare_factory_interfaces(
);
syrette::declare_interface!(
- syrette::castable_factory::threadsafe::ThreadsafeCastableFactory<
+ syrette::private::castable_factory::threadsafe::ThreadsafeCastableFactory<
(std::sync::Arc<syrette::AsyncDIContainer>,),
#factory_interface
- > -> syrette::interfaces::any_factory::AnyThreadsafeFactory,
+ > -> syrette::private::any_factory::AnyThreadsafeFactory,
async = true
);
}
} else {
quote! {
syrette::declare_interface!(
- syrette::castable_factory::blocking::CastableFactory<
+ syrette::private::castable_factory::blocking::CastableFactory<
(std::rc::Rc<syrette::DIContainer>,),
#factory_interface
- > -> syrette::interfaces::factory::IFactory<
+ > -> syrette::private::factory::IFactory<
(std::rc::Rc<syrette::DIContainer>,),
#factory_interface
>
);
syrette::declare_interface!(
- syrette::castable_factory::blocking::CastableFactory<
+ syrette::private::castable_factory::blocking::CastableFactory<
(std::rc::Rc<syrette::DIContainer>,),
#factory_interface
- > -> syrette::interfaces::any_factory::AnyFactory
+ > -> syrette::private::any_factory::AnyFactory
);
}
}