diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 19:37:38 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 19:37:38 +0100 |
commit | 7c8fc04b9645d4cbccd30749735d30aad18c9575 (patch) | |
tree | 9a61083c2d2b4247703a04976f6ba0baa162bfd2 /src/api/admin/worker.rs | |
parent | f914db057a85e0fa70f319ee3af85998a551af96 (diff) | |
download | garage-refactor-admin.tar.gz garage-refactor-admin.zip |
massively speed up compilation of garage_api_admin by not using async_traitrefactor-admin
Diffstat (limited to 'src/api/admin/worker.rs')
-rw-r--r-- | src/api/admin/worker.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/api/admin/worker.rs b/src/api/admin/worker.rs index d143e5be..b3f4537b 100644 --- a/src/api/admin/worker.rs +++ b/src/api/admin/worker.rs @@ -1,8 +1,6 @@ use std::collections::HashMap; use std::sync::Arc; -use async_trait::async_trait; - use garage_util::background::*; use garage_util::time::now_msec; @@ -12,7 +10,6 @@ use crate::api::*; use crate::error::Error; use crate::{Admin, RequestHandler}; -#[async_trait] impl RequestHandler for LocalListWorkersRequest { type Response = LocalListWorkersResponse; @@ -35,7 +32,6 @@ impl RequestHandler for LocalListWorkersRequest { } } -#[async_trait] impl RequestHandler for LocalGetWorkerInfoRequest { type Response = LocalGetWorkerInfoResponse; @@ -56,7 +52,6 @@ impl RequestHandler for LocalGetWorkerInfoRequest { } } -#[async_trait] impl RequestHandler for LocalGetWorkerVariableRequest { type Response = LocalGetWorkerVariableResponse; @@ -78,7 +73,6 @@ impl RequestHandler for LocalGetWorkerVariableRequest { } } -#[async_trait] impl RequestHandler for LocalSetWorkerVariableRequest { type Response = LocalSetWorkerVariableResponse; |