portaldi 0.6.3

An ergonomic lightweight compile-time depencency injection library.
Documentation
1
2
3
4
5
6
7
pub(crate) use async_trait::async_trait;
pub(crate) use portaldi::*;
pub(crate) use tokio;

pub(crate) fn ptr_eq<T: ?Sized>(ref1: &T, ref2: &T) -> bool {
    std::ptr::eq(ref1 as *const _, ref2 as *const _)
}