aboutsummaryrefslogtreecommitdiff
path: root/macros/src/lib.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/lib.rs
parentd99cbf9fa95856cbc14a3217e1cd3f13aeb2e0b3 (diff)
refactor: reorganize non-public API items
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r--macros/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index ccd38e1..ac0309e 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -20,9 +20,9 @@ use syn::{
TypeTraitObject,
};
+mod caster;
mod declare_interface_args;
mod injectable;
-mod libs;
mod macro_flag;
mod util;
@@ -37,11 +37,11 @@ mod fn_trait;
#[cfg(test)]
mod test_utils;
+use crate::caster::generate_caster;
use crate::declare_interface_args::DeclareInterfaceArgs;
use crate::injectable::dependency::Dependency;
use crate::injectable::implementation::InjectableImpl;
use crate::injectable::macro_args::InjectableMacroArgs;
-use crate::libs::intertrait_macros::gen_caster::generate_caster;
/// Makes a struct injectable. Thereby usable with [`DIContainer`] or
/// [`AsyncDIContainer`].