aboutsummaryrefslogtreecommitdiff
path: root/src/api/k2v/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 20:31:34 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 20:31:34 +0100
commit5475da8ea8184f60b0c54586668f204fe68d1113 (patch)
tree8f3de5232a818175d080baef05a149a73b1d0bf5 /src/api/k2v/api_server.rs
parent620dc58560c7e1509ee9e56ce03d15ec502c34c8 (diff)
downloadgarage-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.rs3
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";