derust 0.2.8

Easy way to start your Rust asynchronous application server using Tokio and Axum frameworks.
Documentation
1
2
3
4
5
use tower_http::catch_panic::{CatchPanicLayer, DefaultResponseForPanic};

pub fn panic_catcher() -> CatchPanicLayer<DefaultResponseForPanic> {
    CatchPanicLayer::new()
}