axum-starter 0.11.0

A help crate for simplify the code of starting a axum server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// #[macro_export(crate)]
macro_rules! info {
    ($($t:tt)*) => {
        #[cfg(feature = "logger")]
        ::tracing::info!($($t)*);
        #[cfg(not(feature = "logger"))]
        let _ = stringify!($($t)*);
    };
}
// #[macro_export(crate)]
macro_rules! debug {
    ($($t:tt)*) => {
        #[cfg(feature = "logger")]
        ::tracing::debug!($($t)*);
        #[cfg(not(feature = "logger"))]
        let _ = stringify!($($t)*);
    };
}