lazy_importer 0.1.3

Rust port of Justas Masiulis's lazy_importer for Windows module and export resolution.
Documentation
#[macro_export]
macro_rules! li_module {
    ($name:literal) => {{
        const OFFSET: u32 = $crate::__private::const_random!(u32);
        const HASH: u64 = $crate::__private::khash($name, OFFSET);
        const CACHE_KEY: usize = $crate::__private::cache_key($name);

        $crate::LazyModule::<HASH>::with_cache_key(CACHE_KEY)
    }};
}

#[macro_export]
macro_rules! li_fn {
    ($name:ident) => {{
        const OFFSET: u32 = $crate::__private::const_random!(u32);
        const HASH: u64 = $crate::__private::khash(stringify!($name), OFFSET);
        const CACHE_KEY: usize = $crate::__private::cache_key(stringify!($name));

        $crate::LazyFunction::<HASH>::with_cache_key(CACHE_KEY)
    }};
    ($name:literal) => {{
        const OFFSET: u32 = $crate::__private::const_random!(u32);
        const HASH: u64 = $crate::__private::khash($name, OFFSET);
        const CACHE_KEY: usize = $crate::__private::cache_key($name);

        $crate::LazyFunction::<HASH>::with_cache_key(CACHE_KEY)
    }};
}