massively speed up compilation of garage_api_admin by not using async_trait

This commit is contained in:
Alex Auvolat
2025-02-05 19:37:38 +01:00
parent f914db057a
commit 7c8fc04b96
11 changed files with 4 additions and 68 deletions
-3
View File
@@ -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;