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 | |
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')
-rw-r--r-- | src/api/k2v/Cargo.toml | 1 | ||||
-rw-r--r-- | src/api/k2v/api_server.rs | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/api/k2v/Cargo.toml b/src/api/k2v/Cargo.toml index d4e26efa..e3ebedca 100644 --- a/src/api/k2v/Cargo.toml +++ b/src/api/k2v/Cargo.toml @@ -19,7 +19,6 @@ garage_table.workspace = true garage_util = { workspace = true, features = [ "k2v" ] } garage_api_common.workspace = true -async-trait.workspace = true base64.workspace = true err-derive.workspace = true tracing.workspace = true 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"; |