mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-12 07:16:52 +00:00
massively speed up compilation of garage_api_admin by not using async_trait
This commit is contained in:
@@ -70,7 +70,6 @@ macro_rules! admin_endpoints {
|
||||
}
|
||||
)*
|
||||
|
||||
#[async_trait]
|
||||
impl RequestHandler for AdminApiRequest {
|
||||
type Response = AdminApiResponse;
|
||||
|
||||
@@ -133,7 +132,6 @@ macro_rules! local_admin_endpoints {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl RequestHandler for [< $endpoint Request >] {
|
||||
type Response = [< $endpoint Response >];
|
||||
|
||||
@@ -202,7 +200,6 @@ macro_rules! local_admin_endpoints {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl RequestHandler for LocalAdminApiRequest {
|
||||
type Response = LocalAdminApiResponse;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user