mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 00:59:18 +02:00
15 lines
No EOL
479 B
Rust
15 lines
No EOL
479 B
Rust
mod builtin;
|
|
mod kcomebacks;
|
|
mod updates;
|
|
|
|
pub use builtin::get_builtin_routes as get_v1_builtin_routes;
|
|
pub use kcomebacks::get_kcomebacks_routes as get_v1_kcomebacks_routes;
|
|
pub use updates::get_updates_routes as get_v1_updates_routes;
|
|
|
|
use warp::Filter;
|
|
|
|
pub fn get_v1_routes() -> impl warp::Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
|
return get_v1_builtin_routes()
|
|
.or(get_v1_kcomebacks_routes())
|
|
.or(get_v1_updates_routes());
|
|
} |