File tree Expand file tree Collapse file tree 10 files changed +28
-1
lines changed Expand file tree Collapse file tree 10 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 11#![ doc = include_str ! ( "../README.md" ) ]
22use std:: net:: SocketAddr ;
33
4+ pub use actix_web;
5+
46/// A wrapper type for a closure that returns an [actix_web::web::ServiceConfig] so we can implement
57/// [shuttle_runtime::Service] for it.
68#[ derive( Clone ) ]
Original file line number Diff line number Diff line change 22use shuttle_runtime:: { CustomError , Error } ;
33use std:: net:: SocketAddr ;
44
5+ #[ cfg( feature = "axum" ) ]
6+ pub use axum;
7+ #[ cfg( feature = "axum-0-7" ) ]
8+ pub use axum_0_7 as axum;
9+
510#[ cfg( feature = "axum" ) ]
611use axum:: Router ;
712#[ cfg( feature = "axum-0-7" ) ]
Original file line number Diff line number Diff line change 11#![ doc = include_str ! ( "../README.md" ) ]
2+
3+ pub use poem;
4+
25/// A wrapper type for [poem::Endpoint] so we can implement [shuttle_runtime::Service] for it.
36pub struct PoemService < T > ( pub T ) ;
47
Original file line number Diff line number Diff line change 11#![ doc = include_str ! ( "../README.md" ) ]
22use std:: net:: SocketAddr ;
33
4+ pub use rocket;
5+
46/// A wrapper type for [rocket::Rocket<rocket::Build>] so we can implement [shuttle_runtime::Service] for it.
57pub struct RocketService ( pub rocket:: Rocket < rocket:: Build > ) ;
68
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ use salvo::Listener;
33use shuttle_runtime:: Error ;
44use std:: net:: SocketAddr ;
55
6+ pub use salvo;
7+
68/// A wrapper type for [salvo::Router] so we can implement [shuttle_runtime::Service] for it.
79pub struct SalvoService ( pub salvo:: Router ) ;
810
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ use serenity::Client;
77#[ cfg( feature = "serenity-0-11" ) ]
88use serenity_0_11:: Client ;
99
10+ #[ cfg( feature = "serenity" ) ]
11+ pub use serenity;
12+ #[ cfg( feature = "serenity-0-11" ) ]
13+ pub use serenity_0_11 as serenity;
14+
1015/// A wrapper type for [serenity::Client] so we can implement [shuttle_runtime::Service] for it.
1116pub struct SerenityService ( pub Client ) ;
1217
Original file line number Diff line number Diff line change 22use shuttle_runtime:: Error ;
33use std:: net:: SocketAddr ;
44
5+ pub use thruster;
6+
57/// A wrapper type for [thruster::ThrusterServer] so we can implement [shuttle_runtime::Service] for it.
68pub struct ThrusterService < T > ( pub T ) ;
79
Original file line number Diff line number Diff line change 22use shuttle_runtime:: { CustomError , Error } ;
33use std:: net:: SocketAddr ;
44
5- /// A wrapper type for [tide::Server<T] so we can implement [shuttle_runtime::Service] for it.
5+ pub use tide;
6+
7+ /// A wrapper type for [tide::Server<T>] so we can implement [shuttle_runtime::Service] for it.
68pub struct TideService < T > ( pub tide:: Server < T > ) ;
79
810#[ shuttle_runtime:: async_trait]
Original file line number Diff line number Diff line change 22use shuttle_runtime:: { CustomError , Error } ;
33use std:: net:: SocketAddr ;
44
5+ pub use tower;
6+
57/// A wrapper type for [tower::Service] so we can implement [shuttle_runtime::Service] for it.
68pub struct TowerService < T > ( pub T ) ;
79
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ use shuttle_runtime::Error;
33use std:: net:: SocketAddr ;
44use std:: ops:: Deref ;
55
6+ pub use warp;
7+
68/// A wrapper type for [warp::Filter] so we can implement [shuttle_runtime::Service] for it.
79pub struct WarpService < T > ( pub T ) ;
810
You can’t perform that action at this time.
0 commit comments