use warp::{Filter, reply::Reply, reject::Rejection}; use super::state::SharedState; mod upload; mod help; pub fn get_routes(state: SharedState) -> impl Filter + Clone { upload::get_routes(state.clone()) .or(help::get_routes(state)) }