diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 20:31:34 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 20:31:34 +0100 |
commit | 5475da8ea8184f60b0c54586668f204fe68d1113 (patch) | |
tree | 8f3de5232a818175d080baef05a149a73b1d0bf5 /src/api/k2v/api_server.rs | |
parent | 620dc58560c7e1509ee9e56ce03d15ec502c34c8 (diff) | |
download | garage-5475da8ea8184f60b0c54586668f204fe68d1113.tar.gz garage-5475da8ea8184f60b0c54586668f204fe68d1113.zip |
remove async_trait used in generic_server.rs
Diffstat (limited to 'src/api/k2v/api_server.rs')
-rw-r--r-- | src/api/k2v/api_server.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/api/k2v/api_server.rs b/src/api/k2v/api_server.rs index 31e07762..eb276f5b 100644 --- a/src/api/k2v/api_server.rs +++ b/src/api/k2v/api_server.rs @@ -1,7 +1,5 @@ use std::sync::Arc; -use async_trait::async_trait; - use hyper::{body::Incoming as IncomingBody, Method, Request, Response}; use tokio::sync::watch; @@ -48,7 +46,6 @@ impl K2VApiServer { } } -#[async_trait] impl ApiHandler for K2VApiServer { const API_NAME: &'static str = "k2v"; const API_NAME_DISPLAY: &'static str = "K2V"; |