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
#[cfg(not(feature = "logger"))]
pub(crate) struct FakeSpan;

#[cfg(not(feature = "logger"))]
impl FakeSpan {
    pub fn in_scope<F: FnOnce() -> T, T>(&self, func: F) -> T {
        func()
    }
}